From e779f274e60970840383957b4f4292595534535b Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Thu, 7 Aug 2025 13:27:32 +0200 Subject: [PATCH] Actualiser vpc.tf --- vpc.tf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vpc.tf b/vpc.tf index b567095..b462356 100644 --- a/vpc.tf +++ b/vpc.tf @@ -58,14 +58,14 @@ resource "aws_internet_gateway" "ig" { #} # NAT Gateway -resource "aws_nat_gateway" "nat" { - allocation_id = aws_eip.nat_eip.id - subnet_id = element(aws_subnet.public_subnet.*.id, 0) - tags = { - Name = "nat-gateway-${var.environment}" - Environment = "${var.environment}" - } -} +#resource "aws_nat_gateway" "nat" { +# allocation_id = aws_eip.nat_eip.id +# subnet_id = element(aws_subnet.public_subnet.*.id, 0) +# tags = { +# Name = "nat-gateway-${var.environment}" +# Environment = "${var.environment}" +# } +#} # Routing tables to route traffic for Private Subnet resource "aws_route_table" "private" {