vpc
dwp/vpc/aws
A Terraform module to create an AWS VPC with consistent features
terraform-aws-vpc A Terraform module to create an AWS VPC with consistent features Usage Migration: v2.x -> v3.x *Warning: Migrating from v2.x to v3.x will cause all VPC Endpoints to be destroyed and recreated, which may cause downtime. Breaking changes: VPC Endpoint services are now passed as a list, see examples section Prefix list outputs are now grouped under a single output value and therefore accessed differently: prefix_list_ids. (e.g.: module.vpc.prefix_list_ids.dynamodb) Variable interface_vpce_source_security_group_count no longer needed New features: The module now exposes the no_proxy_list output, which is a list of all the VPC endpoint DNS names. This is useful in environments which use a proxy for internet egress to let applications know not to use the proxy when connecting t
| Name | Type | Description | Default |
|---|---|---|---|
| vpc_name | string | The name of the VPC. | required |
| vpc_cidr_block | string | The CIDR block of the VPC. | required |
| region | string | The region in which to deploy the VPC. | required |
| vpc_flow_log_retention_days | string | The number of days to retain VPC flow logs in CloudWatch for. Defaults to 180. | 180 |
| aws_vpce_services | set(string) | Set of AWS Service names to create VPC Endpoints for. By default only the 'logs' | [
"logs"
] |
| gateway_vpce_route_table_ids | list(string) | A list of one or more route table IDs for Gateway VPC Endpoint rules to be added | [] |
| common_tags | map(string) | Common Tags | {} |
| interface_vpce_subnet_ids | list(string) | A list of subnet IDs that all Interface VPC endpoints will be attached to | [] |
| vpc_enable_dns_hostnames | bool | A boolean flag to enable/disable DNS hostnames in the VPC. Defaults to true. | true |
| vpc_flow_log_traffic_type | string | The type of traffic ('ACCEPT', 'REJECT', or 'ALL') to log. Defaults to 'ALL'. | "ALL" |
| custom_vpce_services | set(object({ key | Set of objects mapping service names to ports for custom VPC Endpoint services. | [] |
| vpc_instance_tenancy | string | Tenancy of instances spun up within the VPC (`default`, `dedicated`).) | "default" |
| interface_vpce_source_security_group_ids | list(string) | A list of security group IDs that will be allowed to reach the Interface VPCs. | [] |
| hcs_tags | map(string) | Common Tags | {} |
vpc — VPC Detailsecr_dkr_domain_name — ECR dkr domain nameprefix_list_ids — Prefix List ID'sno_proxy_list — No_proxy Listssm_iam_role_name — SSM IAM Role Namessm_instance_profile_name — SSM IAM instance profile Nameinterface_vpce_sg_id — VPCE SG endpoint IDcustom_vpce_sg_id — Custom VPCE SG endpoint IDcustom_vpce_dns_names — Custom VPCE DNS NamesAzure 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,