How to use “for_each” inside the “subnet_mapping” in terraform so I can map the each elastic IPs created to each “subnet_id”

后端 未结 0 1537
南方客
南方客 2021-02-02 09:18

// This creates my EIPs:

resource "aws_eip" "nlb_eips" {
  count = length(module.vpc.public_subnets)
}

// This needs to creat

相关标签:
回答
  • 消灭零回复
提交回复
热议问题