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
Allow both zones and availability_set_id to coexist. availability_set_id will already take a empty string which creates the VM with no AVSET. Zones are not in every region so its important that we have flexibility (without having to VM resources) to deploy a VM in a AVSET or Zones.
Actual Behavior
"availability_set_id": conflicts with zones
Steps to Reproduce
Create a VM resource with availability_set_id = "" and zones = [1]
The text was updated successfully, but these errors were encountered:
It should be possible to achieve this today by specifyig null rather than an empty string when coalescing - would you be able to take a look and see if that works for you? From our side I'm currently working on the replacement Virtual Machine resources (defined in #2807) for 2.0 - so we'll take a look at this for that release either way 👍
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
Feb 25, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_virtual_machine
Terraform Configuration Files
or
Expected Behavior
Allow both zones and availability_set_id to coexist. availability_set_id will already take a empty string which creates the VM with no AVSET. Zones are not in every region so its important that we have flexibility (without having to VM resources) to deploy a VM in a AVSET or Zones.
Actual Behavior
"availability_set_id": conflicts with zones
Steps to Reproduce
Create a VM resource with availability_set_id = "" and zones = [1]
The text was updated successfully, but these errors were encountered: