/terraform-aws-vpc-module

Terraforming AWS VPC with subnets and GW

Primary LanguageHCL

Providers

Name Version
aws ~> 2.20

Inputs

Name Description Type Default Required
networks Map of networks with new bits and type of routing
map(object({
new_bits = number
routing = string
}))
n/a yes
tags Common tags for all resources created by terraform module map(string) n/a yes
vpc Attributes of AWS VPC
object({
name = string
region = string
az_count = number
cidr_block = string
})
n/a yes

Outputs

Name Description
azs List AWS Region AZs
inet_gw_id The id of internet gw for created AWS VPC
nat_gws The ids of nat gw for created AWS VPC
subnet_cidrs Map of computed subnet CIDRs
subnet_cidrs_by_az Map of subnets' CIDR by AZs
subnet_cidrs_by_name Map of subnets' CIDR by names
subnet_cidrs_list_by_name List of subnets' CIDR by names
subnet_ids Map of created subnet ids
subnet_ids_by_az Map of subnets' ids by AZs
subnet_ids_by_name Map of subnets' ids by names
subnet_ids_list_by_name List of subnets' ids by names
vpc_id The id of created AWS VPC