Actualiser vpc.tf
Some checks failed
Terraform Apply / Terraform Apply (push) Failing after 1m2s

This commit is contained in:
2025-08-07 13:29:43 +02:00
parent e779f274e6
commit 90ffdff761

14
vpc.tf
View File

@@ -58,14 +58,14 @@ resource "aws_internet_gateway" "ig" {
#} #}
# NAT Gateway # NAT Gateway
#resource "aws_nat_gateway" "nat" { resource "aws_nat_gateway" "nat" {
# allocation_id = aws_eip.nat_eip.id # allocation_id = aws_eip.nat_eip.id
# subnet_id = element(aws_subnet.public_subnet.*.id, 0) subnet_id = element(aws_subnet.public_subnet.*.id, 0)
# tags = { tags = {
# Name = "nat-gateway-${var.environment}" Name = "nat-gateway-${var.environment}"
# Environment = "${var.environment}" Environment = "${var.environment}"
# } }
#} }
# Routing tables to route traffic for Private Subnet # Routing tables to route traffic for Private Subnet
resource "aws_route_table" "private" { resource "aws_route_table" "private" {