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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create data source for google_gke_hub_membership_binding #18538

Open
sahsagar-google opened this issue Jun 24, 2024 · 1 comment 路 May be fixed by GoogleCloudPlatform/magic-modules#11032
Open
Labels
enhancement forward/review In review; remove label to forward service/gkehub

Comments

@sahsagar-google
Copy link

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request.
  • Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.
  • If an issue is assigned to a user, that user is claiming responsibility for the issue.
  • Customers working with a Google Technical Account Manager or Customer Engineer can ask them to reach out internally to expedite investigation and resolution of this issue.

Description

It'd be extremely helpful if we created terraform data sources for hub resources. This would allow application teams to reference resources' values without needing to have their projects own the resources and/or have access to the platform's projects' tf state.

the cannonical example in general in GCP is google_project -- this is commonly used in situations where a project resides in a project it doesnt manage but needs to reference it to get its project number. in the absence of this data source, the user would need to manually use gcloud to do this and any module that needs it and takes a project id (ie most gcp modules) would have to also take a project number.

within the hub team, a common use case would be for gke_hub_scope, something that would be key to separation of platform admin team scope provisioning and app team gke_hub_namespace self service.

another one might be for gke_hub_membership_bindings to subsequently install something into a team's clusters (though this is not likely an app operator's need)

New or Affected Resource(s)

  • google_gke_hub_membership_binding

Potential Terraform Configuration

References

No response

@sahsagar-google
Copy link
Author

I'm working on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement forward/review In review; remove label to forward service/gkehub
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant