You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempting to build some custom VPC networks for a test environment using Terraform, and running into a bit of a snag trying to specify the "GLOBAL" routing mode per the documentation.
provider "google" {
credentials = "REDACTED"
project = "POC"
region = "us-east1-b"
}
#VPC Network for Google
resource "google_compute_network" "default" {
name = "gcp-poc-vpc"
description = "POC VPC"
auto_create_subnetworks = "false"
routing_mode = "GLOBAL"
}
Expected Behavior
Terraform creates my VPC network with GLOBAL routing enabled.
Actual Behavior
Terraform fails both plan and validation with: Error: google_compute_network.default: : invalid or unknown key: routing_mode
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform validate
terraform plan
Important Factoids
None. Brand new Google project, untouched by the hands of eager Operations engineers.
References
Saw the following commits related to routingMode enhancements that look like they should work, but have not been able to figure out why my configuration is not:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked and limited conversation to collaborators
Mar 29, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Howdy Y'all!
Attempting to build some custom VPC networks for a test environment using Terraform, and running into a bit of a snag trying to specify the "GLOBAL" routing mode per the documentation.
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Terraform creates my VPC network with GLOBAL routing enabled.
Actual Behavior
Terraform fails both plan and validation with:
Error: google_compute_network.default: : invalid or unknown key: routing_mode
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform validate
terraform plan
Important Factoids
None. Brand new Google project, untouched by the hands of eager Operations engineers.
References
Saw the following commits related to
routingMode
enhancements that look like they should work, but have not been able to figure out why my configuration is not:google_compute_network
#629The text was updated successfully, but these errors were encountered: