aws-vpc

Adaptavist/aws-vpc/module

Terraform Module HCL MODULE
Install
module "aws-vpc" {
source = "Adaptavist/aws-vpc/module"
version = "1.1.3"
}
plain text: /constructs/tfmod-adaptavist-aws-vpc-module/install.txt
⭐ Source on GitHub 📦 Registry page
README

AWS VPC This modules provide a highly available VPC with the following components: - Public Subnet (Per Availability Zone) - Private Subnet (Per Availability Zone) - NAT gateway (Per Availability Zone) - Isolated Subnet (Per Availability Zone) - Network ACLs as an additional layer of production - VPC Flow logs Subnet routing | Subnet | Internet Ingress | Internet Egress | Public | Private | Isolated | | -------- | ---------------- | --------------- | ------ | ------- | -------- | | Public | ✓ | ✓ | ✓ | ✓ | ✓ | | Private | | ✓ | ✓ | ✓ | ✓ | | Isolated | | | ✓ | ✓ | ✓ | The table above shows what is routable and from where, this is done from a combination of NAT Gateways, Internet Gatways, Route Tables and network ACLs. [TODO] The subnets can route to each other easily, it is the resposibili

Inputs (14)
NameTypeDescriptionDefault
namespacestring required
availability_zoneslist(string)list of AZs your VPC will utilise required
stagestring required
cidr_blockstringDesired CIDR block required
enable_private_subnetboolFlag to enable private subnetstrue
enable_isolated_subnetboolFlag to enable isolated subnetstrue
namestring"vpc"
enable_public_subnetboolFlag to enable public subnetstrue
enable_ipv6boolenable IPv6 on the VPCtrue
enable_dns_hostnamesboolEnable DNS hostnamestrue
tagsmap(string){}
enable_dns_supportboolEnable DNS supporttrue
map_public_ipv4boolMap public IPv4 on creationfalse
instance_tenancystringEC2 instance tenancy (default, dedicated)"default"
Outputs (19)
public_subnet
public_subnet_cidrs
isolated_subnet_ids
isolated_subnet
isolated_subnet_cidrs
vpc_id
vpc_cidr_block
public_subnet_ids
private_subnet_ip6_cidrs
isolated_subnet_ip6_cidrs
vpc_name
vpc_ipv6_cidr_block
private_subnet_ids
private_subnet
private_subnet_cidrs
tags
public_route_table_ids
public_subnet_ip6_cidrs
private_route_table_ids
Resources (10)
aws_egress_only_internet_gatewayaws_eipaws_internet_gatewayaws_nat_gatewayaws_network_aclaws_routeaws_route_tableaws_route_table_associationaws_subnetaws_vpc
Details
FrameworkTerraform Module
LanguageHCL
Version1.1.3
Cloud MODULE
★ Stars2
Forks2
Total downloads860
Inputs14
Outputs19
Resources10
LicenseApache-2.0
NamespaceAdaptavist
Updated