/terraform-google-nat-gateway

Modular NAT Gateway on Google Compute Engine for Terraform.

Primary LanguageHCLApache License 2.0Apache-2.0

NAT Gateway Terraform Module

Modular NAT Gateway on Google Compute Engine for Terraform.

Usage

module "nat" {
  source     = "GoogleCloudPlatform/nat-gateway/google"
  region     = "us-central1"
  network    = "default"
  subnetwork = "default"
}

Add the nat-REGION-ZONE and nat-REGION tags to your instances without external IPs to route outbound traffic through the nat gateway.

Resources created