-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Google Cloud Router & Cloud NAT #2249
Comments
Looking at https://cloud.google.com/nat/docs/apis#rest_api, it looks like all the operations are meant to be performed on the Router API resource, so it may make more sense to have this be a sub-block within Router. Maybe. It could be a candidate for fine-grained resourcehood. |
@paddycarver Yup, the sample terraform script was designed based on the currently google UI, but under the hood, I suspect they are just making one API request. Either way, being able to import/configure the cloud NATs in terraform would be great. |
API wise, this should be very similar to
API fields described in https://cloud.google.com/compute/docs/reference/rest/beta/routers/insert |
Just stumbled upon this one while terraforming private Kubernetes clusters (in isolated VPCs). In this case the Kubernetes nodes needs outbound connectivity for fetching container images. I created a Cloud NAT manually and everything works as expected then. The possibility to integrate that into my terraform workflow as well would be superb. Looking forward to see this resource landing in the |
@akoenig, if all your container images are hosted on gcr.io, you can fetch them with Private Google Access, which is free. |
@drebes Yap, I know that. The setup uses images from other registries like quay.io (e.g. |
This should be done within the month of November, folks, and released as soon after completion as is feasible. :) Thanks for your patience. |
Merged in hashicorp/terraform-provider-google-beta#161. |
I've download google-beta plugin and still get error |
Router NAT isn't in |
In the meantime, you will need to compile the plug-in yourself and put it in .terraform/plugins/YOUR_ARCHITECTURE/ for so that it gets used. |
thanks for advice |
Just a heads up that 1.20.0 has been released. 🎉 |
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! |
Community Note
Description
GCP just introduced a new Cloud NAT. - https://cloud.google.com/nat/docs/overview
Would be nice to have support for it in Terraform along with all our other resources we already have.
New or Affected Resource(s)
Potential Terraform Configuration
References
https://cloud.google.com/nat/docs/overview
The text was updated successfully, but these errors were encountered: