Skip to content

Coalfire-CF/terraform-google-cloud-router

Repository files navigation

Coalfire

Google Cloud Router Terraform Module

This module handles opinionated Google Cloud Platform routing. Coalfire has tested this module with Terraform version 1.5.0 and the Hashicorp Google provider versions 4.70 - 5.0.

FedRAMP Compliance: Moderate

Usage

module "cloud_router" {
    source = "github.com/Coalfire-CF/terraform-gcp-cloud-router"

    name = "router-name"
    project = "your-project"
    region = "us-central1"
    network = "your-network-id"
}

Requirements

No requirements.

Providers

Name Version
google n/a

Modules

No modules.

Resources

Name Type
google_compute_router.router resource
google_compute_router_nat.nats resource

Inputs

Name Description Type Default Required
bgp BGP information specific to this router. any null no
description An optional description of this resource string null no
name Name of the router string n/a yes
nats NATs to deploy on this router. any [] no
network A reference to the network to which this router belongs string n/a yes
project The project ID to deploy to string n/a yes
region Region where the router resides string n/a yes

Outputs

Name Description
router The created router