If we deploy Failover Template, with or without Existing Stack. Both Failover Instances are deployed into Availability Zone 1 if useAvailabilityZones is set to true (bool)
Expected behavior
if useAvailabilityZones is set to true Availability Zones should be used and the 2 virtual Machines should be stretched accross multiple Zones like 1 and 2, 2 and 3 or 1 and 3
Current behavior
if useAvailabilityZones is set to true, both VMs deployed on Availability Zone 1
Possible solution / problem location
Code-Line in examples/modules/bigip-standalone/bigip.json
"zones": "[if(parameters('useAvailabilityZones'), createArray(1), json('null'))]",
createArray(1) << this set the used Zone always to 1
Idea
let Zones be defined in ARM Template Deployment as Variable ... like Zone VM1 = 1, Zone VM2 = 2
Describe the bug
If we deploy Failover Template, with or without Existing Stack. Both Failover Instances are deployed into Availability Zone 1 if useAvailabilityZones is set to true (bool)
Expected behavior
if useAvailabilityZones is set to true Availability Zones should be used and the 2 virtual Machines should be stretched accross multiple Zones like 1 and 2, 2 and 3 or 1 and 3
Current behavior
if useAvailabilityZones is set to true, both VMs deployed on Availability Zone 1
Possible solution / problem location
Code-Line in examples/modules/bigip-standalone/bigip.json "zones": "[if(parameters('useAvailabilityZones'), createArray(1), json('null'))]", createArray(1) << this set the used Zone always to 1
Idea
let Zones be defined in ARM Template Deployment as Variable ... like Zone VM1 = 1, Zone VM2 = 2