Skip to content
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

google_compute_router does not make the attached Cloud NAT Gateway information available. #189

Closed
lhasadreams opened this issue Oct 22, 2019 · 2 comments

Comments

@lhasadreams
Copy link
Contributor

Detailed Description

I would like to be able to determine if a Cloud NAT Gateway exists in a Project.

Context

It is a guardrail check that my customers organisation requires to be checked to allow the use of GCP in their organisation.

Possible Implementation

Speaking with @skpaterson earlier, a couple suggestions were discussed:
(1) Create a new resource to interrogate the Cloud NAT Gateways available

  • google_compute_nats
  • google_compute_nat
    (2) Modify the API schema that drives the magic module for google_compute_router to include access to the attached Cloud NAT Gateway(s).
@slevenick
Copy link
Collaborator

Hey @lhasadreams

I'll look into creating this. I'll see if it's feasible to add as its own resource, but as a fall back I can add the fields to the google_compute_router resource.

@lhasadreams
Copy link
Contributor Author

Many thanks for adding this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants