Requirements

Name Version
aws 4.29.0

Providers

Name Version
aws 4.29.0

Modules

Name Source Version
ec2-instances ./modules/ec2 n/a
networking ./modules/networking n/a
rds-instance ./modules/rds n/a

Resources

Name Type
aws_db_subnet_group.rds-subnet data source
aws_subnets.private-subnets data source
aws_subnets.public-subnets data source
aws_vpc.selected data source

Inputs

Name Description Type Default Required
rds-password n/a any n/a yes
rds-user n/a any n/a yes

Outputs

Name Description
rds-endpoint n/a

Requirements

Name Version
aws 4.29.0

Providers

Name Version
aws 4.29.0

Modules

Name Source Version
ec2_instances ./modules/ec2 n/a
networking ./modules/networking n/a
rds_instance ./modules/rds n/a

Resources

Name Type
aws_db_subnet_group.rds_subnet data source
aws_subnets.private_subnets data source
aws_subnets.public_subnets data source
aws_vpc.selected data source

Inputs

Name Description Type Default Required
my_ip cidr block for vpc/subnets/sg string "122.187.88.146/32" no
private_subnets cidr, az, name of private subnets list
[
{
"az": "us-east-1a",
"cidr": "10.0.128.0/20",
"name": "prv-1"
},
{
"az": "us-east-1b",
"cidr": "10.0.144.0/20",
"name": "prv-2"
}
]
no
public_subnets cidr, az, name of pubic subnets list
[
{
"az": "us-east-1a",
"cidr": "10.0.0.0/20",
"name": "pub-1"
},
{
"az": "us-east-1b",
"cidr": "10.0.16.0/20",
"name": "pub-2"
}
]
no
rds_password rds password for initial user any n/a yes
rds_user rds username for initial user any n/a yes

Outputs

Name Description
alb_dns_name public dns for the ALB
rds_endpoint RDS endpoint to connect to