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
If I add a new http_listener block I will see one changed block running tf plan.
Actual Behaviour
If I add another http_listener configuration the first one might be changed to contain the configuration of the second. In addition the first will be created new.
So their is a modification + creation:
Create an Application Gateway with probes, listeners, etc. and then add new probes, listeners, etc.
Important Factoids
We have configured quite a long list of listeners, probes, etc. Adding one results in a lot of changes. With all this noise its hard so see what really changed.
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.
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.15.3
Affected Resource(s)
azurerm_application_gateway
Terraform Configuration Files
Expected Behaviour
If I add a new
http_listener
block I will see one changed block runningtf plan
.Actual Behaviour
If I add another
http_listener
configuration the first one might be changed to contain the configuration of the second. In addition the first will be created new.So their is a modification + creation:
Steps to Reproduce
Create an Application Gateway with probes, listeners, etc. and then add new probes, listeners, etc.
Important Factoids
We have configured quite a long list of listeners, probes, etc. Adding one results in a lot of changes. With all this noise its hard so see what really changed.
References
I think we the ordering of the blocks is changing and because the blocks all have
schema.TypeList
(e.g. https://github.com/terraform-providers/terraform-provider-azurerm/blob/cc9493f573e3b4e2563097d72992d58cfb27e102/azurerm/internal/services/network/application_gateway_resource.go#L812 ) this results in changes.We could change them to be Sets. But I'm not sure about the implications of that ;-)
What do you think?
The text was updated successfully, but these errors were encountered: