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 #16105

Conversation

modular-magician
Copy link
Collaborator

#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 (hashicorp#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 2c40af1 into hashicorp:main Oct 3, 2023
4 checks passed
Copy link

github-actions bot commented Nov 3, 2023

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant