- Notifications
You must be signed in to change notification settings - Fork58
Manages a Cloud Router on Google Cloud
License
terraform-google-modules/terraform-google-cloud-router
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This module handles opinionated Google Cloud Platformcloud router. Optionally it can also createcloud nat
This module is meant for use with Terraform 1.3+ and tested using Terraform 1.3+. If you find incompatibilities using Terraform >=1.3, please open an issue.
Upgrade guides:
Basic usage of this module is as follows:
module"cloud_router" {source="terraform-google-modules/cloud-router/google"version="~> 8.0"name="example-router"region="us-central1"bgp={# The ASN (16550, 64512 - 65534, 4200000000 - 4294967294) can be any private ASN# not already used as a peer ASN in the same region and network or 16550 for Partner Interconnect. asn="65001" }project="<PROJECT ID>"network="default"}
Functional examples are included in theexamples directory. By default logging will be enabled forCloud NAT withfilter set toAll. You can disable cloud nat logging by setting parameters innats.log_config
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| bgp | BGP information specific to this router. | object({ | null | no |
| description | An optional description of this resource | string | null | no |
| encrypted_interconnect_router | An optional field to indicate if a router is dedicated to use with encrypted Interconnect Attachment | bool | false | no |
| name | Name of the router | string | n/a | yes |
| nats | NATs to deploy on this router. | list(object({ | [] | no |
| network | A reference to the network to which this router belongs | string | n/a | yes |
| project_id | The project ID to deploy to | string | n/a | yes |
| region | Region where the router resides | string | n/a | yes |
| Name | Description |
|---|---|
| nat | Created NATs |
| router | Created Router |
These sections describe requirements for using this module.
The following dependencies must be available:
- Terraform v1.3 and above
- Terraform Provider for GCP plugin v4.51 and above
A service account with the following roles must be used to provisionthe resources of this module:
- Network Admin:
roles/compute.networkAdmin
TheProject Factory module and the[IAM module][iam-module] may be used in combination to provision aservice account with the necessary roles applied.
A project with the following APIs enabled must be used to host theresources of this module:
- Google Cloud Compute Engine API:
compute.googleapis.com
TheProject Factory module can be used toprovision a project with the necessary APIs enabled.
Refer to thecontribution guidelines forinformation on contributing to this module.
About
Manages a Cloud Router on Google Cloud
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.