Skip to content

Latest commit

 

History

History
70 lines (59 loc) · 6.11 KB

MODULE.md

File metadata and controls

70 lines (59 loc) · 6.11 KB

Requirements

Name Version
terraform >= 1.0
aws >= 5.0.0

Providers

Name Version
aws >= 5.0.0

Modules

Name Source Version
app_security_group terraform-aws-modules/security-group/aws ~> 4.0
vpc terraform-aws-modules/vpc/aws 5.0.0

Resources

Name Type
aws_ssm_parameter.app_security_group resource
aws_ssm_parameter.app_subnets resource
aws_ssm_parameter.database_subnet_group resource
aws_ssm_parameter.database_subnets resource
aws_ssm_parameter.private_subnets resource
aws_ssm_parameter.public_subnets resource
aws_ssm_parameter.vpc_id resource
aws_availability_zones.available data source

Inputs

Name Description Type Default Required
azs_count Number of Availability Zones to use. This value is used to determine the number of public and private subnets to create. number 3 no
enable_nat_gateway Enable NAT Gateways for each private subnet bool true no
name Name to be used on all the resources as identifier string "" no
private_subnet_tags Any extra tags to assign to private subnets map(any) {} no
public_subnet_tags Any extra tags to assign to public subnets map(any) {} no
single_nat_gateway Use a single NAT Gateway for all private subnets bool true no
tags Any extra tags to assign to objects map(any) {} no
vpc_cidr_block VPC CIDR Block to use if creating a new VPC string "10.0.0.0/16" no
vpc_id VPC to use. Leave blank to create a new VPC. string "" no

Outputs

Name Description
app_security_group value of the app_security_group output from the vpc module
app_subnets value of the app_subnets output from the vpc module. It is an alias for the private_subnets output
database_subnet_group value of the database_subnet_group output from the vpc module
database_subnets value of the database_subnets output from the vpc module
default_security_group_id value of the default_security_group_id output from the vpc module
private_route_table_ids List of IDs of private route tables
private_subnets value of the private_subnets output from the vpc module
public_route_table_ids List of IDs of public route tables
public_subnets value of the public_subnets output from the vpc module
ssm_parameter_app_security_group name of the ssm parameter for the app security group
ssm_parameter_app_subnets name of the ssm parameter for the app subnets
ssm_parameter_database_subnets name of the ssm parameter for the database subnets
ssm_parameter_private_subnets name of the ssm parameter for the private subnets
ssm_parameter_public_subnets name of the ssm parameter for the public subnets
ssm_parameter_vpc_id name of the ssm parameter for the vpc id
vpc_cidr_block value of the vpc_cidr_block output from the vpc module
vpc_id value of the vpc_id output from the vpc module