@@ -30,35 +30,35 @@ module "public_subnet" {
3030 aws_internet_gateway_id = aws_internet_gateway. igw . id
3131 subnet_bits = var. subnet_bits
3232 cidr = var. cidr
33- cluster_prefix = var. cluster_prefix
34- cluster_environment = var. cluster_environment
33+ cluster_prefix = var. cluster_prefix
34+ cluster_environment = var. cluster_environment
3535 subnet_type = [" public" ]
3636}
3737
3838# AWS NAT Gateway Module
3939module "nat_gateway" {
40- source = " ./modules/nat-gateways"
41- cluster_prefix = var. cluster_prefix
42- cluster_environment = var. cluster_environment
43- public_subnet_ids = module. public_subnet . public_subnet_ids
40+ source = " ./modules/nat-gateways"
41+ cluster_prefix = var. cluster_prefix
42+ cluster_environment = var. cluster_environment
43+ public_subnet_ids = module. public_subnet . public_subnet_ids
4444}
4545
4646# AWS VPC Subnets Module - Private Subnet
4747module "private_subnet" {
48- source = " ./modules/subnets"
49- vpc_id = aws_vpc. vpc . id
50- aws_nat_gateway_id = module. nat_gateway . nat_gateway_ids
51- cidr = var. cidr
52- cluster_prefix = var. cluster_prefix
53- cluster_environment = var. cluster_environment
54- subnet_bits = var. subnet_bits
55- subnet_type = [" private" , " storage" ]
48+ source = " ./modules/subnets"
49+ vpc_id = aws_vpc. vpc . id
50+ aws_nat_gateway_id = module. nat_gateway . nat_gateway_ids
51+ cidr = var. cidr
52+ cluster_prefix = var. cluster_prefix
53+ cluster_environment = var. cluster_environment
54+ subnet_bits = var. subnet_bits
55+ subnet_type = [" private" , " storage" ]
5656}
5757
5858# AWS VPC Security Groups Module
5959module "security_group" {
60- source = " ./modules/security-groups"
61- vpc_id = aws_vpc. vpc . id
60+ source = " ./modules/security-groups"
61+ vpc_id = aws_vpc. vpc . id
6262 cluster_prefix = var. cluster_prefix
6363 cluster_environment = var. cluster_environment
6464}
0 commit comments