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

Enabling Membership resource to be regionalized with global as default value #6437

Conversation

modular-magician
Copy link
Collaborator

hashicorp/terraform-provider-google#15882

Release Note Template for Downstream PRs (will be copied)

gkehub: added `location` field to `google_gke_hub_membership` resource
gkehub: added `location` field to `google_gke_hub_membership_iam_*` resources

Derived from GoogleCloudPlatform/magic-modules#8994

…t value (#8994)

* Adding Terraform resources for Tenancy APIs in GKEHub

* Segregating MembershipBinding and MembershipRBACRoleBinding to keep things simpler in the review

* Fixing the docu URIs

* Adding TF support for Tenancy API for Membership Binding

* Adding dependent membership binding to the same commit chain

* Making Scope un-updatable and replacing hard coded project number with the one from test env

* Making Scope RRBAC updatable

* Making Namespace immutable

* Adding update test cases

* Removing all memberships field from Scope since it is no longer supported

* Removing all_memberships field for Scope from all test cases

* Enabling Membership resource to be regionalized with global as default value

* Moving the test to be the first one in sequence to work-around the IAM test failure

* Update mmv1/products/gkehub/Membership.yaml

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>

* Adding state migration for gke hub membership

* Update mmv1/templates/terraform/examples/gkehub_membership_regional.tf.erb

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>

---------

Co-authored-by: Stephen Lewis (Burrows) <[email protected]>
[upstream:bf6b0ee32b7b469a27b4595c695619dcc9f0de5b]

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit ad60090 into hashicorp:main Oct 3, 2023
4 checks passed
@modular-magician modular-magician deleted the downstream-pr-bf6b0ee32b7b469a27b4595c695619dcc9f0de5b branch November 16, 2024 03:39
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

Successfully merging this pull request may close these issues.

1 participant