Skip to content

Nvision-x/nx-networking-tf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

No requirements.

Providers

Name Version
aws n/a

Modules

No modules.

Resources

Name Type
aws_eip.nat resource
aws_internet_gateway.igw resource
aws_nat_gateway.nat resource
aws_route_table.private resource
aws_route_table.public resource
aws_route_table_association.private resource
aws_route_table_association.public resource
aws_security_group.eks_vpce_sg resource
aws_subnet.private resource
aws_subnet.public resource
aws_vpc.main resource
aws_vpc_endpoint.interface_endpoints resource

Inputs

Name Description Type Default Required
create_networking_resources Whether to create VPC, subnets, IGW, NAT, etc. bool true no
enable_vpc_endpoints Whether to create VPC interface endpoints bool true no
existing_vpc_id ID of existing VPC string "" no
private_subnets Map of private subnets
map(object({
cidr = string
az = string
name = string
}))
{} no
public_subnets Map of public subnets
map(object({
cidr = string
az = string
name = string
}))
{} no
region AWS region string n/a yes
vpc_cidr CIDR block for the VPC string n/a yes
vpc_endpoint_subnet_ids List of subnet IDs (one per AZ) to attach to the VPC Interface Endpoint list(string) n/a yes
vpc_interface_service_names List of AWS service names for VPC interface endpoints (e.g., com.amazonaws.us-east-2.eks-auth) list(string) n/a yes
vpc_name Name tag for the VPC string n/a yes

Outputs

Name Description
private_subnet_ids List of private subnet IDs created when create_networking_resources is true
public_subnet_ids List of public subnet IDs created when create_networking_resources is true
vpc_id The ID of the VPC used or created for this environment

About

Creates optionally VPC, subnets, NAT gateways, route tables, and optionally VPC endpoints.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages