No requirements.
Name | Version |
---|---|
aws | n/a |
No modules.
Name | Type |
---|---|
aws_eip.multi_gateway | resource |
aws_eip.single_gateway | resource |
aws_instance.single_instance | resource |
aws_internet_gateway.aws-igw | resource |
aws_nat_gateway.multi_gateway | resource |
aws_nat_gateway.single_gateway | resource |
aws_route.multi_gateway | resource |
aws_route.public | resource |
aws_route.single_gateway | resource |
aws_route.single_instance | resource |
aws_route_table.multi_gateway | resource |
aws_route_table.public | resource |
aws_route_table.single_gateway | resource |
aws_route_table.single_instance | resource |
aws_route_table_association.multi_gateway | resource |
aws_route_table_association.public | resource |
aws_route_table_association.single_gateway | resource |
aws_route_table_association.single_instance | resource |
aws_security_group.single_instance | resource |
aws_subnet.private | resource |
aws_subnet.public | resource |
aws_vpc.aws-vpc | resource |
aws_ami.fck_nat_arm | data source |
aws_ami.fck_nat_x86 | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
availability_zones | List of availability zones | list(string) |
n/a | yes |
environment | The environment name | string |
n/a | yes |
nat_gateway_type | (Optional) Type of NAT gateway to use Options: - none(default): No NAT gateway will be created. - single_instance: NAT gateway will be created using a single EC2 instance(not highly available). Only use this in development - single_gateway: NAT gateway will be created using AWS-managed NAT gateway on a single subnet(not highly available). Only use this in development. - multi_gateway: NAT gateway will be created using AWS-managed NAT gateway on all public subnets in each avaibility zone. Recommended for production. Default: none |
string |
"none" |
no |
nat_instance_type | (Optional) Type of NAT instance to use. Only used when nat_gateway_type is set to single_instance. Default: t4g.nano |
string |
"t4g.nano" |
no |
private_subnets | List of private subnets | list(string) |
n/a | yes |
public_subnets | List of public subnets | list(string) |
n/a | yes |
vpc_cidr | The CIDR block for the VPC. | string |
"10.0.0.0/16" |
no |
vpc_name | The name of the VPC | string |
n/a | yes |
Name | Description |
---|---|
private_subnet_ids | n/a |
public_subnet_ids | n/a |
vpc_id | n/a |