Description
The VM module has 2 parameters that needs to be set to use/configure a 'set once' property of zones. The way it is currently working is you would need to specify a single int between 1-3, in addition to a useAvailabilityZone boolean parameter.
param useAvailabilityZone bool = false
param availabilityZone int = 0
zones: useAvailabilityZone ? array(availabilityZone) : null
Would it be simpler to implement something along the lines of:
param availabilityZone int = 0
zones: availabilityZone != 0 ? array(availabilityZone) : null
Description
The VM module has 2 parameters that needs to be set to use/configure a 'set once' property of
zones. The way it is currently working is you would need to specify a single int between 1-3, in addition to auseAvailabilityZoneboolean parameter.Would it be simpler to implement something along the lines of: