VPC
Terraform module to create AWS VPC resources
Inputs
40 / 236
amazon_side_asnoptionalstringThe Autonomous System Number (ASN) for the Amazon side of the gateway. By default the virtual private gateway is created with the current default Amazon ASN
64512azsoptionallist(string)A list of availability zones names or ids in the region
[]cidroptionalstring(Optional) The IPv4 CIDR block for the VPC. CIDR can be explicitly set or it can be derived from IPAM using `ipv4_netmask_length` & `ipv4_ipam_pool_id`
10.0.0.0/16create_database_internet_gateway_routeoptionalboolControls if an internet gateway route for public database access should be created
falsecreate_database_nat_gateway_routeoptionalboolControls if a nat gateway route should be created to give internet access to the database subnets
falsecreate_database_subnet_groupoptionalboolControls if database subnet group should be created (n.b. database_subnets must also be set)
truecreate_database_subnet_route_tableoptionalboolControls if separate route table for database should be created
falsecreate_egress_only_igwoptionalboolControls if an Egress Only Internet Gateway is created and its related routes
truecreate_elasticache_subnet_groupoptionalboolControls if elasticache subnet group should be created
truecreate_elasticache_subnet_route_tableoptionalboolControls if separate route table for elasticache should be created
falsecreate_flow_log_cloudwatch_iam_roleoptionalboolWhether to create IAM role for VPC Flow Logs
falsecreate_flow_log_cloudwatch_log_groupoptionalboolWhether to create CloudWatch log group for VPC Flow Logs
falsecreate_igwoptionalboolControls if an Internet Gateway is created for public subnets and the related routes that connect them
truecreate_multiple_intra_route_tablesoptionalboolIndicates whether to create a separate route table for each intra subnet. Default: `false`
falsecreate_multiple_public_route_tablesoptionalboolIndicates whether to create a separate route table for each public subnet. Default: `false`
falsecreate_private_nat_gateway_routeoptionalboolControls if a nat gateway route should be created to give internet access to the private subnets
truecreate_redshift_subnet_groupoptionalboolControls if redshift subnet group should be created
truecreate_redshift_subnet_route_tableoptionalboolControls if separate route table for redshift should be created
falsecreate_vpcoptionalboolControls if VPC should be created (it affects almost all resources)
truecustomer_gateway_tagsoptionalmap(string)Additional tags for the Customer Gateway
{}customer_gatewaysoptionalmap(map(any))Maps of Customer Gateway's attributes (BGP ASN and Gateway's Internet-routable external IP address)
{}customer_owned_ipv4_pooloptionalstringThe customer owned IPv4 address pool. Typically used with the `map_customer_owned_ip_on_launch` argument. The `outpost_arn` argument must be specified when configured
nulldatabase_acl_tagsoptionalmap(string)Additional tags for the database subnets network ACL
{}database_dedicated_network_acloptionalboolWhether to use dedicated network ACL (not default) and custom rules for database subnets
falsedatabase_inbound_acl_rulesoptionallist(map(string))Database subnets inbound network ACL rules
[…]database_outbound_acl_rulesoptionallist(map(string))Database subnets outbound network ACL rules
[…]database_route_table_tagsoptionalmap(string)Additional tags for the database route tables
{}database_subnet_assign_ipv6_address_on_creationoptionalboolSpecify true to indicate that network interfaces created in the specified subnet should be assigned an IPv6 address. Default is `false`
falsedatabase_subnet_enable_dns64optionalboolIndicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations. Default: `true`
truedatabase_subnet_enable_resource_name_dns_a_record_on_launchoptionalboolIndicates whether to respond to DNS queries for instance hostnames with DNS A records. Default: `false`
falsedatabase_subnet_enable_resource_name_dns_aaaa_record_on_launchoptionalboolIndicates whether to respond to DNS queries for instance hostnames with DNS AAAA records. Default: `true`
truedatabase_subnet_group_nameoptionalstringName of database subnet group
nulldatabase_subnet_group_tagsoptionalmap(string)Additional tags for the database subnet group
{}database_subnet_ipv6_nativeoptionalboolIndicates whether to create an IPv6-only subnet. Default: `false`
falsedatabase_subnet_ipv6_prefixesoptionallist(string)Assigns IPv6 database subnet id based on the Amazon provided /56 prefix base 10 integer (0-256). Must be of equal length to the corresponding IPv4 subnet list
[]database_subnet_namesoptionallist(string)Explicit values to use in the Name tag on database subnets. If empty, Name tags are generated
[]database_subnet_private_dns_hostname_type_on_launchoptionalstringThe type of hostnames to assign to instances in the subnet at launch. For IPv6-only subnets, an instance DNS name must be based on the instance ID. For dual-stack and IPv4-only subnets, you can specify whether DNS names use the instance IPv4 address or the instance ID. Valid values: `ip-name`, `reso…
nulldatabase_subnet_suffixoptionalstringSuffix to append to database subnets name
dbdatabase_subnet_tagsoptionalmap(string)Additional tags for the database subnets
{}database_subnetsoptionallist(string)A list of database subnets inside the VPC
[]All 236 are optional — the module deploys with none of them set. Showing 40, so the site stays a static download — the remaining 196 are in the source.
Outputs
40 / 119
azsA list of availability zones specified as argument to this module
cgw_arnsList of ARNs of Customer Gateway
cgw_idsList of IDs of Customer Gateway
database_internet_gateway_route_idID of the database internet gateway route
database_ipv6_egress_route_idID of the database IPv6 egress route
database_nat_gateway_route_idsList of IDs of the database nat gateway route
database_network_acl_arnARN of the database network ACL
database_network_acl_idID of the database network ACL
database_route_table_association_idsList of IDs of the database route table association
database_route_table_idsList of IDs of database route tables
database_subnet_arnsList of ARNs of database subnets
database_subnet_groupID of database subnet group
database_subnet_group_nameName of database subnet group
database_subnet_objectsA list of all database subnets, containing the full objects.
database_subnetsList of IDs of database subnets
database_subnets_cidr_blocksList of cidr_blocks of database subnets
database_subnets_ipv6_cidr_blocksList of IPv6 cidr_blocks of database subnets in an IPv6 enabled VPC
default_network_acl_idThe ID of the default network ACL
default_route_table_idThe ID of the default route table
default_security_group_idThe ID of the security group created by default on VPC creation
default_vpc_arnThe ARN of the Default VPC
default_vpc_cidr_blockThe CIDR block of the Default VPC
default_vpc_default_network_acl_idThe ID of the default network ACL of the Default VPC
default_vpc_default_route_table_idThe ID of the default route table of the Default VPC
default_vpc_default_security_group_idThe ID of the security group created by default on Default VPC creation
default_vpc_enable_dns_hostnamesWhether or not the Default VPC has DNS hostname support
default_vpc_enable_dns_supportWhether or not the Default VPC has DNS support
default_vpc_idThe ID of the Default VPC
default_vpc_instance_tenancyTenancy of instances spin up within Default VPC
default_vpc_main_route_table_idThe ID of the main route table associated with the Default VPC
dhcp_options_idThe ID of the DHCP options
egress_only_internet_gateway_idThe ID of the egress only Internet Gateway
elasticache_network_acl_arnARN of the elasticache network ACL
elasticache_network_acl_idID of the elasticache network ACL
elasticache_route_table_association_idsList of IDs of the elasticache route table association
elasticache_route_table_idsList of IDs of elasticache route tables
elasticache_subnet_arnsList of ARNs of elasticache subnets
elasticache_subnet_groupID of elasticache subnet group
elasticache_subnet_group_nameName of elasticache subnet group
elasticache_subnet_objectsA list of all elasticache subnets, containing the full objects.
What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else. Showing 40 of 119 — the rest are in the source.