Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

ml4/terraform-google-vpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-google-vpc

Terraform GCP network module

Requirements

No requirements.

Providers

Name Version
google n/a

Modules

No modules.

Resources

Name Type
google_compute_address.primaryNatIp resource
google_compute_address.secondaryNatIp resource
google_compute_firewall.main resource
google_compute_network.main resource
google_compute_router.primary_rtr resource
google_compute_router.secondary_rtr resource
google_compute_router_nat.hcSecondaryNgw resource
google_compute_router_nat.primaryNgw resource
google_compute_subnetwork.primary_private resource
google_compute_subnetwork.primary_public resource
google_compute_subnetwork.secondary_private resource
google_compute_subnetwork.secondary_public resource

Inputs

Name Description Type Default Required
google_primary_region Google primary target region string n/a yes
google_project Main Google project string n/a yes
google_secondary_region Google secondary target region string n/a yes
prefix main prefix in front of most infra for multi-user accounts string n/a yes
primary_private_subnet_cidrs GCP primary private subnets
map(object(
{
name = string
cidr = string
}
))
n/a yes
primary_public_subnet_cidrs GCP primary public subnets
map(object(
{
name = string
cidr = string
}
))
n/a yes
secondary_private_subnet_cidrs GCP secondary private subnets
map(object(
{
name = string
cidr = string
}
))
n/a yes
secondary_public_subnet_cidrs GCP secondary public subnets
map(object(
{
name = string
cidr = string
}
))
n/a yes

Outputs

Name Description
gcn-gcf-main-description Google Compute Network (VPC): Google Compute Firewall main description
gcn-gcf-main-id Google Compute Network (VPC): Google Compute Firewall main ID
gcn-gcf-main-name Google Compute Network (VPC): Google Compute Firewall main name
gcn-gcf-main-network Google Compute Network (VPC): Google Compute Firewall main network
gcn-gcn-main-description Google Compute Network (VPC): Google Compute Network main description
gcn-gcn-main-gateway_ipv4 Google Compute Network (VPC): Google Compute Network main IPV4 gateway
gcn-gcn-main-id Google Compute Network (VPC): Google Compute Network main ID
gcn-gcn-main-name Google Compute Network (VPC): Google Compute Network main name
gcn-gcn-main-routing_mode Google Compute Network (VPC): Google Compute Network main routing mode
gcn-gcn-main-self_link Google Compute Network (VPC): Google Compute Network main self link
gcn-gcsn-primaryPrivate-gateway_address Google Compute Network (VPC): Google Compute Subnet primary private gateway address
gcn-gcsn-primaryPrivate-ip_cidr_range Google Compute Network (VPC): Google Compute Subnet primary private IP CIDR range
gcn-gcsn-primaryPrivate-name Google Compute Network (VPC): Google Compute Subnet primary private name
gcn-gcsn-primaryPrivate-region Google Compute Network (VPC): Google Compute Subnet primary private region
gcn-gcsn-primary_public-gateway_address Google Compute Network (VPC): Google Compute Subnet primary public gateway address
gcn-gcsn-primary_public-ip_cidr_range Google Compute Network (VPC): Google Compute Subnet primary public IP CIDR range
gcn-gcsn-primary_public-name Google Compute Network (VPC): Google Compute Subnet primary public name
gcn-gcsn-primary_public-region Google Compute Network (VPC): Google Compute Subnet primary public region
gcn-gcsn-secondaryPrivate-gateway_address Google Compute Network (VPC): Google Complete Subnet secondary private gateway address
gcn-gcsn-secondaryPrivate-ip_cidr_range Google Compute Network (VPC): Google Complete Subnet secondary private IP CIDR range
gcn-gcsn-secondaryPrivate-name Google Compute Network (VPC): Google Complete Subnet secondary private name
gcn-gcsn-secondaryPrivate-region Google Compute Network (VPC): Google Complete Subnet secondary private region
gcn-gcsn-secondaryPublic-gateway_address Google Compute Network (VPC): Google Compute Subnet secondary public gateway address
gcn-gcsn-secondaryPublic-ip_cidr_range Google Compute Network (VPC): Google Compute Subnet secondary public IP CIDR range
gcn-gcsn-secondaryPublic-name Google Compute Network (VPC): Google Compute Subnet secondary public name
gcn-gcsn-secondaryPublic-region Google Compute Network (VPC): Google Compute Subnet secondary public region

About

Terraform GCP network module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages