btlabz-vpc-ha-3x

btower-labz/btlabz-vpc-ha-3x/aws

Terraform Module HCL AWS

BTLabz AWS VPC parts: HA VPC (3x, pri, pub, nat)

Install
module "btlabz-vpc-ha-3x" {
source = "btower-labz/btlabz-vpc-ha-3x/aws"
version = "1.0.0-001"
}
plain text: /constructs/tfmod-btower-labz-btlabz-vpc-ha-3x-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

BT-Labz AWS VPC parts. VPC contruction. 3x AZ +HA NAT. Terraform registry: https://registry.terraform.io/modules/btower-labz/btlabz-vpc-ha-3x/aws Project structure See here: FILES Inputs\Outputs See here: INPUTS\OUTPUTS Features High Availability (triple AZ) Public subnets. Private subnets. Triple NATs with EIPs Usage `` module "vpc_stage" { source = "btower-labz/btlabz-vpc-ha-3x/aws" vpc_name = "stage-vpc" vpc_cidr = "172.18.0.0/16" public_a_cidr = "172.18.1.0/24" public_b_cidr = "172.18.2.0/24" public_c_cidr = "172.18.3.0/24" private_a_cidr = "172.18.11.0/24" private_b_cidr = "172.18.12.0/24" private_c_cidr = "172.18.13.0/24" tags = { Environment = "Staging" Customer = "ACME" } } `` Diagramm !VPC Diagram

Inputs (26)
NameTypeDescriptionDefault
vpc_namestringVPC name. Will be used as the 'Name' tag value."main-vpc"
public_c_namestringPublic subnet C name. Will be used as the 'Name' tag value."public-c"
az_cstringAvailability zone for 'C' subnets. Both private and public.""
private_b_cidrstringPrivate network B CIDR range."172.18.12.0/24"
nat_a_namestringNAT-A name. Will be used as the 'Name' tag value."nat-a"
nat_b_namestringNAT-B name. Will be used as the 'Name' tag value."nat-b"
az_bstringAvailability zone for 'B' subnets. Both private and public.""
public_a_cidrstringPublic network A CIDR range."172.18.1.0/24"
nat_c_namestringNAT-C name. Will be used as the 'Name' tag value."nat-c"
private_c_namestringPrivate subnet C name. Will be used as the 'Name' tag value."private-c"
igw_namestringIGW name. Will be used as the 'Name' tag value."main-igw"
rt_private_a_namestringRoute table name for private subnet A."rt-private-a"
rt_private_b_namestringRoute table name for private subnet C."rt-private-b"
private_a_namestringPrivate subnet A name. Will be used as the 'Name' tag value."private-a"
vpc_cidrstringVPC CIDR range."172.18.0.0/16"
public_c_cidrstringPublic network C CIDR range."172.18.3.0/24"
private_a_cidrstringPrivate network A CIDR range."172.18.11.0/24"
private_c_cidrstringPrivate network C CIDR range."172.18.13.0/24"
tagsmap(string)Additional tags.{}
public_a_namestringPublic subnet A name. Will be used as the 'Name' tag value."public-a"
Outputs (12)
private_b — Private subnet B identifier.
private_c — Private subnet C identifier.
nat_c_public_ip — NAT-A public IP address.
public_b — Public subnet B identifier.
public_c — Public subnet C identifier.
public_a — Public subnet A identifier.
private_subnets — All the private subnets.
private_a — Private subnet A identifier.
nat_a_public_ip — NAT-A public IP address.
nat_b_public_ip — NAT-B public IP address.
vpc_id — VPC identifier.
public_subnets — All the public subnets.
Resources (1)
aws_route
Details
FrameworkTerraform Module
LanguageHCL
Version1.0.0-001
Cloud AWS
★ Stars0
Forks1
Total downloads6.7k
Inputs26
Outputs12
Resources1
LicenseUnlicense
Namespacebtower-labz
Updated