fix(deprecation): deprecated property for aws_eip

main
Flavien Henrion 2023-11-16 14:02:26 +01:00
parent e2160f8c50
commit d458481219
1 changed files with 1 additions and 1 deletions

View File

@ -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}" })
}