-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_api_management_named_value - fix the non empty plan when secret
is true
#6834
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yupwei68,
however you may need to change the logic to pull the value across reads as there is a failing test:
TestAccAzureRMAPIManagementNamedValue_update: testing.go:640: Step 1 error: After applying this step, the plan was not empty:
DIFF:
UPDATE: azurerm_api_management_named_value.test
api_management_name: "acctestAM-200511194826164695" => "acctestAM-200511194826164695"
display_name: "TestProperty200511194826164695" => "TestProperty2200511194826164695"
id: "/subscriptions/1a6092a6-137e-4025-9a7c-ef77f76f2c02/resourceGroups/acctestRG-200511194826164695/providers/Microsoft.ApiManagement/service/acctestAM-200511194826164695/namedValues/acctestAMProperty-200511194826164695" => "/subscriptions/1a6092a6-137e-4025-9a7c-ef77f76f2c02/resourceGroups/acctestRG-200511194826164695/providers/Microsoft.ApiManagement/service/acctestAM-200511194826164695/namedValues/acctestAMProperty-200511194826164695"
name: "acctestAMProperty-200511194826164695" => "acctestAMProperty-200511194826164695"
resource_group_name: "acctestRG-200511194826164695" => "acctestRG-200511194826164695"
secret: "false" => "true"
tags.#: "2" => "2"
tags.0: "tag1" => "tag3"
tags.1: "tag2" => "tag4"
value: "Test Value" => "Test Value2"
…form-provider-azurerm into wyp-apim-namedvalue
…raform-provider-azurerm into wyp-apim-namedvalue
Hi @katbyte, I don't know why. I still get tests passed. |
azurerm_api_management_named_value
plan is not emptysecret
is true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @yupwei68, tests pass now 👍
This has been released in version 2.10.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 2.10.0"
}
# ... other configuration ... |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks! |
Fix #6688