diff --git a/main.tf b/main.tf index 6b046a7..8a85136 100644 --- a/main.tf +++ b/main.tf @@ -23,6 +23,21 @@ module "aws_vpc" { customer_gateways = var.vpc_customer_gateways + manage_default_route_table = false + manage_default_network_acl = false + default_security_group_ingress = [{ + protocol = -1 + self = true + from_port = 0 + to_port = 0 + }] + default_security_group_egress = [{ + from_port = 0 + to_port = 0 + protocol = "-1" + cidr_blocks = "0.0.0.0/0" + }] + name = var.name tags = var.tags vpc_tags = var.vpc_tags