diff --git a/terraform/network.tf b/terraform/network.tf index 38ac66a..1d379b0 100644 --- a/terraform/network.tf +++ b/terraform/network.tf @@ -22,11 +22,14 @@ module "vpc" { map_public_ip_on_launch = true enable_dns_hostnames = true enable_dns_support = true + + private_route_table_tags = { TableOf = "Main", TableType = "Public" } } # Only allow HTTP(s) and SSH traffic. Allow full access to internet. resource "aws_security_group" "public_access" { vpc_id = module.vpc.vpc_id + name = "Public Access" } resource "aws_vpc_security_group_ingress_rule" "ingress" {