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

[RFE] Support Shared VPCs #246

Open
agrare opened this issue Apr 20, 2023 · 0 comments
Open

[RFE] Support Shared VPCs #246

agrare opened this issue Apr 20, 2023 · 0 comments

Comments

@agrare
Copy link
Member

agrare commented Apr 20, 2023

Currently the google provider refresh does not collect cloud networks / subnets from Shared VPCs (https://cloud.google.com/vpc/docs/shared-vpc) because these come from other projects.

We have to first query for the shared VPC host project (if it exists) with https://cloud.google.com/compute/docs/reference/rest/v1/projects/getXpnHost

Then we can list the networks / subnets on that project that are shared.

NOTE fog-google doesn't support these APIs so we will have to use https://github.com/googleapis/google-api-ruby-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant