You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conjunction of changing the value to empty string with the workaround with ignore_changes mentioned in the linked bug causes the change to be ignored.
If the new value is not empty, the change is detected and applied as expected
If the key is completely new, it gets created and the value is set as expected
If the configuration_store_id is not ignored, the change is detected and applied as expected
We did not yet observe similar issues in some other circumstances, but it has already caused us a production issue because this unexpected behavior can easily go unnoticed when running terraform apply and we have no guarantee that this is the only way the issue can manifest.
Steps to Reproduce
Apply the terraform configuration snippet given with nonempty value
Change the value to empty string
Run terraform plan and see that it does not reveal any changes
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.7.0
AzureRM Provider Version
3.88.0
Affected Resource(s)/Data Source(s)
azurerm_app_configuration_key
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
~ resource "azurerm_app_configuration_key" "setting" {
~ etag = "" -> (known after apply)
~ value = "testvalue2" -> ""
# (7 unchanged attributes hidden)
}
Actual Behaviour
The conjunction of changing the value to empty string with the workaround with
ignore_changes
mentioned in the linked bug causes the change to be ignored.configuration_store_id
is not ignored, the change is detected and applied as expectedWe did not yet observe similar issues in some other circumstances, but it has already caused us a production issue because this unexpected behavior can easily go unnoticed when running terraform apply and we have no guarantee that this is the only way the issue can manifest.
Steps to Reproduce
Important Factoids
No response
References
#24109 (comment)
The text was updated successfully, but these errors were encountered: