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 problem derives from the fact that Portal will not keep the .kind property in the API request when you editing the webtest, while it should do. #8372 will workaround this errornous behavior of Portal.
Besides, after you editing on Portal, the timeout will be changed into another default value picked by Portal, 120sec, and you will ends up seeing diff. Also, the test config will also be changed since Portal will change it. But those are in-place update fields, so you will not see terraform mark the resource to be replaced in that case.
Ultimately, we suggest Terraform users to manage Azure resource using Terraform only. A mix use of Terraform and Portal will cause problems like what you already encounted.
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!
ghost
locked as resolved and limited conversation to collaborators
Oct 7, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Both 2.24.0 and 2.23.0
Affected Resource(s)
azurerm_application_insights_web_test
Terraform Configuration Files
Expected Behavior
There shoudn't be change detected in "kind" property after changing some setting in Azure Portal.
Actual Behavior
terraform plan
says that the argument "kind" is added with value of "ping" and needs replacement:+ kind = "ping" # forces replacement
Steps to Reproduce
terraform apply
terraform plan
The text was updated successfully, but these errors were encountered: