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 starting point: we have N subnets, which have already been created before.
We want to attach the network security group to each of these N subnets.
In order to do this, we are creating N azurerm_subnet_network_security_group_associations AND adding the network_security_group_id as a property to each subnet.
We expect the subnets to be successfully modified and associations to be successfully created. As a result we expect the subnets to be successfully attached to the network security group.
Actual Behavior
Several subnets (1-2) are hanging in status "Still modifying..." forever as well as several associations which are hanging in status "Still creating..." forever.
I tested it with several setups ( 1 association for 1 subnet) :
1 subnet modification + 1 association creation - Success
2 subnets modification + 2 associations creation - Success
3 subnets modification + 3 associations creation - Unstable success: some runs are stuck, some runs are successful.
4 subnets modification + 4 associations creation - is stuck, as described.
10 subnets modification + 10 association creation - is stuck, as described.
Taking a look through this appears to be a duplicate of #2489 - rather than having multiple issues open tracking the same thing I'm going to close this issue in favour of that one; would you mind subscribing to #2489 for updates?
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 and limited conversation to collaborators
Mar 29, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
terraform version: 0.11.11
azurerm version: 1.34.0 (similar behaviour also in 1.31.0, 1.32.1, 1.33.1, 1.34.0)
Affected Resource(s)
azurerm_subnet
azurerm_subnet_network_security_group_association
Terraform Configuration Files
Debug Output
https://gist.github.com/ak58588/ea0578b21ce36395dd035ce6e36c2763
Expected Behavior
The starting point: we have N subnets, which have already been created before.
We want to attach the network security group to each of these N subnets.
In order to do this, we are creating N azurerm_subnet_network_security_group_associations AND adding the network_security_group_id as a property to each subnet.
We expect the subnets to be successfully modified and associations to be successfully created. As a result we expect the subnets to be successfully attached to the network security group.
Actual Behavior
Several subnets (1-2) are hanging in status "Still modifying..." forever as well as several associations which are hanging in status "Still creating..." forever.
I tested it with several setups ( 1 association for 1 subnet) :
1 subnet modification + 1 association creation - Success
2 subnets modification + 2 associations creation - Success
3 subnets modification + 3 associations creation - Unstable success: some runs are stuck, some runs are successful.
4 subnets modification + 4 associations creation - is stuck, as described.
10 subnets modification + 10 association creation - is stuck, as described.
Steps to Reproduce
terraform apply
- this must run successfullyterraform apply
Important Factoids
References
The text was updated successfully, but these errors were encountered: