-
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
Changes to azurerm_traffic_manager_profile destroys endpoints #6041
Comments
Seeing the same thing here... doing any change to the profiles wipes the endpoints... |
@katbyte / @tombuildsstuff how we do normally proceed with this type of debugging ? From what I can gather, it seems that something changed at the MSFT side maybe ? assuming this was never an issue before ? We just caused major downtime by changing a simple monitor setting since it wiped ALL endpoints. I looked at the terraform code and the So... how is this normally reported to MSFT, knowing that making changes in the portal or AZ CLI doesn't affect it seems... |
We also kicked ourselves in the nuts with this bug trying to apply a simple change in resource tags. Does anyone have an update on this? |
I've created a pull request with a fix: #7471 . It was attached to a closed/duplicate issue so I'm mentioning it here to make sure it's seen. |
@nitzanm / @ArcturusZhang which of the two PR should I follow to know when this is ready ? @katbyte I see you are reviewing #7846 , should we expect this in 2.21.0 ? :) |
This has been released in version 2.23.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.23.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 👉 [email protected]. Thanks! |
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_traffic_manager_profile
azurerm_traffic_manager_endpoint
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Changes to values in the
azurerm_traffic_manager_profile
should not affect theazurerm_traffic_manager_endpoint
.Actual Behavior
Changes to values in the
azurerm_traffic_manager_profile
likemonitor_config.path
ordns_config.ttl
causes all theazurerm_traffic_manager_endpoint
to disappear. You basically have to run terraform twice to reprovision them.Steps to Reproduce
terraform apply
monitor_config.path
from/health
to/healthz
.terraform apply
Your endpoints are now gone.
Important Factoids
References
The text was updated successfully, but these errors were encountered: