Skip to content

Commit c9dbff3

Browse files
committed
Fix private subnet route_table_association resource
Signed-off-by: Arthur Diniz <[email protected]>
1 parent 24fe5f8 commit c9dbff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subnet-private.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ resource "aws_route" "nat_route" {
5252
depends_on = [aws_nat_gateway.nat_gw]
5353
}
5454

55-
resource aws_route_table_association "private" {
55+
resource "aws_route_table_association" "private" {
5656
count = length(aws_subnet.private)
5757
subnet_id = aws_subnet.private[count.index].id
5858
route_table_id = var.multi_nat ? aws_route_table.private[count.index].id : aws_route_table.private[0].id

0 commit comments

Comments
 (0)