In #Terraform 1.10 the element function now accepts negative indices. Unappreciated update perhaps! What is the element function for, anyway?
One use case is to spread a number of subnets across availability zones, or virtual machines across subnets.
Let me know if you think of more use cases!
One use case is to spread a number of subnets across availability zones, or virtual machines across subnets.
Let me know if you think of more use cases!
Comments