Hi,
My terraform plan creates the whole underlying infrastructure which include:
vpc, subnets in different AZ etc.
During the plan, I'm heavy user of 'count' and 'elemet(var.x, count.index)' interpolation, this way I place instances in different subnets without specifying them explicitly for example.
How to achive this same with aws_lb?
In some regions I want to deploy lb in 4 previously created subnets, in other region only 3 subnets etc.
Not sure subnet_mapping allows me this flexibility.
Can you suggest?