vpc
104corp/vpc/aws
Terraform module which creates VPC resources on AWS
AWS VPC Terraform module !Build Status !LicenseBadge Terraform module which creates VPC resources on AWS. These types of resources are supported: VPC Subnet Route Route table Internet Gateway NAT Gateway VPN Gateway VPC Endpoint (S3 and DynamoDB) DHCP Options Set Default VPC Usage ``hcl module "vpc" { source = "104corp/vpc/aws" name = "my-vpc" cidr = "10.0.0.0/16" azs = ["ap-northeast-1a", "ap-northeast-1c","ap-northeast-1d"] private_subnets = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"] public_subnets = ["10.0.101.0/24", "10.0.102.0/24", "10.0.103.0/24"] nat_subnets = ["10.0.10.0/24", "10.0.11.0/24", "10.0.12.0/24"] enable_vpn_gateway = true tags = { Terraform = "true" Environment = "dev" } } ` External NAT Gateway IPs By default this module will provision new Elastic IPs for the VPC's N
| Name | Type | Description | Default |
|---|---|---|---|
| manage_default_network_acl | string | Should be true to adopt and manage Default Network ACL | false |
| public_dedicated_network_acl | string | Whether to use dedicated network ACL (not default) and custom rules for public s | false |
| nat_subnet_suffix | string | Suffix to append to NAT subnets name | "nat" |
| map_public_ip_on_launch | string | Should be false if you do not want to auto-assign public IP on launch | true |
| propagate_public_route_tables_vgw | string | Should be true if you want route table propagation | false |
| private_subnet_tags | map | Additional tags for the private subnets | {} |
| vpn_gateway_tags | map | Additional tags for the VPN gateway | {} |
| default_vpc_enable_dns_support | string | Should be true to enable DNS support in the Default VPC | true |
| instance_tenancy | string | A tenancy option for instances launched into the VPC | "default" |
| nat_subnets | list | A list of nat subnets | [] |
| enable_dns_hostnames | string | Should be true to enable DNS hostnames in the VPC | false |
| nat_dedicated_network_acl | string | Whether to use dedicated network ACL (not default) and custom rules for nat subn | false |
| cidr | string | The CIDR block for the VPC. Default value is a valid CIDR, but not acceptable by | "0.0.0.0/0" |
| vpc_tags | map | Additional tags for the VPC | {} |
| dhcp_options_tags | map | Additional tags for the DHCP option set | {} |
| ec2_endpoint_security_group_ids | list | The ID of one or more security groups to associate with the network interface fo | [] |
| igw_tags | map | Additional tags for the internet gateway | {} |
| nat_gateway_tags | map | Additional tags for the NAT gateways | {} |
| dhcp_options_domain_name | string | Specifies DNS name for DHCP options set | "" |
| assign_generated_ipv6_cidr_block | string | Requests an Amazon-provided IPv6 CIDR block with a /56 prefix length for the VPC | false |
| … and 10 more inputs | |||
default_security_group_id — The ID of the security group created by default on VPC creationvpc_endpoint_s3_pl_id — The prefix list for the S3 VPC endpoint.default_vpc_main_route_table_id — The ID of the main route table associated with this VPCvpc_endpoint_dynamodb_id — The ID of VPC endpoint for DynamoDBdefault_vpc_enable_dns_support — Whether or not the VPC has DNS supportvpc_id — The ID of the VPCdefault_route_table_id — The ID of the default route tablevpc_enable_dns_support — Whether or not the VPC has DNS supportprivate_route_table_ids — List of IDs of private route tablesnat_route_table_ids — List of IDs of nat route tablesnatgw_ids — List of NAT Gateway IDsvpc_main_route_table_id — The ID of the main route table associated with this VPCnat_ids — List of allocation ID of Elastic IPs created for AWS NAT Gatewayprivate_subnets — List of IDs of private subnetsdefault_network_acl_id — The ID of the default network ACLpublic_subnets_cidr_blocks — List of cidr_blocks of public subnetsnat_subnets — List of IDs of nat subnetsvgw_id — The ID of the VPN Gatewayvpc_cidr_block — The CIDR block of the VPCvpc_instance_tenancy — Tenancy of instances spin up within VPCpublic_subnets — List of IDs of public subnetsdefault_vpc_default_network_acl_id — The ID of the default network ACLdefault_vpc_default_route_table_id — The ID of the default route tabledefault_vpc_cidr_block — The CIDR block of the VPCdefault_vpc_default_security_group_id — The ID of the security group created by default on VPC creationvpc_enable_dns_hostnames — Whether or not the VPC has DNS hostname supportprivate_subnets_cidr_blocks — List of cidr_blocks of private subnetspublic_route_table_ids — List of IDs of public route tablesvpc_endpoint_s3_id — The ID of VPC endpoint for S3vpc_endpoint_dynamodb_pl_id — The prefix list for the DynamoDB VPC endpoint.Azure landing zones Terraform module
Terraform supermodule for the Terraform platform engineering for Azure
Terraform module to deploy landing zone subscriptions (and much more) in Azure
Terraform Module to define a consistent naming convention by (namespace, stage,