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

Add fleet_default_member_config field to google_gke_hub_feature resource #6608

Conversation

modular-magician
Copy link
Collaborator

Fixes hashicorp/terraform-provider-google#16222

Release Note Template for Downstream PRs (will be copied)

gkehub: added `fleet_default_member_config` field to `google_gke_hub_feature` resource

Derived from GoogleCloudPlatform/magic-modules#9234

…rce (#9234)

* 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]>

* Adding fleet_default_member_config field to the Feature resource

* Fixing the enum value in example

* Fixing lint error

* Temporary removal of skipIfVcr test flag for the tests to run in PR

* Temporary removal of skipIfVcr test flag for the tests to run in PR

* Removing unnecessary field spec from feature

* Changing feature id to servicemesh

* Adding dependency of feature on servicemesh API

* Enabling mesh and gkehub APIs to be used in the tests

* Temporary enabling services in the test project

* Adding dependency of feature test on new project

* Testing a few more newly-added fields

* Depending on Terraform test project

* Skipping if VCR

* Depending on the newly created project for the tests

* Adding service enablement for Anthos

---------

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

Signed-off-by: Modular Magician <[email protected]>
@modular-magician modular-magician merged commit bdd6daf into hashicorp:main Nov 6, 2023
@modular-magician modular-magician deleted the downstream-pr-e0e5f8df72d7c1b089c89dc6567f801209c6e540 branch November 16, 2024 03:42
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.

Add fleet_default_member_config field to google_gke_hub_feature resource
1 participant