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
In above code, I've set up 3 network interfaces for VMSS.
Network interfaces should be set up in the order same as the order of VMSS's network_profile in main.tf.
Actual Behavior
Network interfaces will be generated randomly in creating VMSS.
Can be verified by Azure portal > VMSS > Networking
Above page will show all network interfaces by sequence. Every time Terraform is executed, there will be different sequence.
Steps to Reproduce
terraform apply
Important Factoids
References
This issue also existed in creating VM, please refer to #99 #426
The above PR only fixed the issue in creating VM. Same method should also fixed this issue, I've tested and verified.
At this point in time the azurerm_virtual_machine and azurerm_virtual_machine_scale_set resources have been superseded by the azurerm_(linux|windows)_virtual_machine and azurerm_(linux|windows)_virtual_machine_scale_set resources and are feature-frozen to maintain compatibility.
Taking a look through the new resources, it appears these use a List instead of a Set so this appears to be fixed there - however it appears that you'd be blocked from adopting these new resources by #6117 (which whilst states just the VM resource, is tracking this for the new VMSS resources too).
As this functionality is available in the new resources I'm going to close this issue for the moment - however I'd recommend subscribing to #6117 to confirm when data disks are supported on these resources which'll unblock you here.
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
Sep 17, 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 v0.12.28
azurerm_v2.23
Affected Resource(s)
azurerm_virtual_machine_scale_set
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
In above code, I've set up 3 network interfaces for VMSS.
Network interfaces should be set up in the order same as the order of VMSS's network_profile in main.tf.
Actual Behavior
Network interfaces will be generated randomly in creating VMSS.
Can be verified by Azure portal > VMSS > Networking
Above page will show all network interfaces by sequence. Every time Terraform is executed, there will be different sequence.
Steps to Reproduce
terraform apply
Important Factoids
References
This issue also existed in creating VM, please refer to
#99
#426
The above PR only fixed the issue in creating VM. Same method should also fixed this issue, I've tested and verified.
The text was updated successfully, but these errors were encountered: