fix(deprecation): deprecated property for aws_eip
parent
e2160f8c50
commit
d458481219
2
main.tf
2
main.tf
|
@ -47,7 +47,7 @@ resource "aws_route_table_association" "public_routes" {
|
|||
#-----NAT Gateways with Elastic IPs--------------------------
|
||||
resource "aws_eip" "nat" {
|
||||
count = length(data.aws_availability_zones.available.names)
|
||||
vpc = true
|
||||
domain = "vpc"
|
||||
tags = merge(var.tags, { Name = "${var.env}-nat-gw-${count.index + 1}" })
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue