-
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_app_service blocks not working as expected #4151
Comments
I've noted the exact behavior on an Might be related to this: |
Thanks for opening this issue. The Azure API supports setting the Whilst this allows us to support both use-cases unfortunately this means that to be able to clear these settings you need to explicitly define the
Would you be able to take a look and see if that works for you? Since this is an intentional behaviour rather than a bug in the Azure Provider I'm going to close this issue for the moment - but please let us know if that doesn't work for you and we'll take another look. Thanks! |
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! |
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.12.6
provider.azurerm v1.33.0
Affected Resource(s)
azurerm_app_service
Terraform Configuration Files
Expected Behavior
When setting configure_connection_string to "false" the configuration is removed after querying state.
Actual Behavior
The existing connection_string remains in place. Terraform apply completes successfully. Please note if the connection_string is never configured the configuration applies successfully. Terraform actually says it is going to remove the configuration as part of an apply, but it don't remove it and leaves it in state. This is repeatable on other blocks within this resource too.
The text was updated successfully, but these errors were encountered: