Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created March 15, 2019 04:13
Show Gist options
  • Select an option

  • Save 100daysofdevops/7dfb86d80389cfe31c01747c0692c9a2 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/7dfb86d80389cfe31c01747c0692c9a2 to your computer and use it in GitHub Desktop.
# Private Route Table
resource "aws_default_route_table" "private_route" {
default_route_table_id = "${aws_vpc.main.default_route_table_id}"
route {
nat_gateway_id = "${aws_nat_gateway.test_nat_gw.id}"
cidr_block = "0.0.0.0/0"
}
tags {
Name = "my-private-route-table"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment