https://pulumi.com logo
#golang
Title
c

cold-car-23440

09/26/2019, 9:15 PM
@stocky-spoon-28903 do you have a basic example of looping logic for availability zones?
just to give some context i’m using a loop to create multiple VMs and inside that loop i have a loop that iterates over the zones
Copy code
var zone string
var zonecount [3]int
for z := range zonecount {
	zone := string(z)
	fmt.Println(zone)
}
Feels weird to me. Wondering if there is a better way
3 Views