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

Allow setting both enable_autopilot and workload_identity_config in google_container_cluster resource #18166

Conversation

modular-magician
Copy link
Collaborator

This PR enables the creation of GKE clusters with both Autopilot and WorkloadALTS enabled (both enable_autopilot and workload_alts_config block set).

The workloadALTSConfig JSON field in the GKE cluster REST resource requires the workloadIdentityConfig field to be present as well, so the workload_alts_config block requires the workload_identity_config block to be present. This PR removes the ConflictsWith constraint between enable_autopilot and workload_identity_config so that a non-empty workload_identity_config block can be specified to satisfy the REST API to create the cluster.

Release Note Template for Downstream PRs (will be copied)

container: allowed both `enable_autopilot` and `workload_identity_config` to be set in `google_container_cluster` resource.

Derived from GoogleCloudPlatform/magic-modules#10691

…oogle_container_cluster resource (hashicorp#10691)

[upstream:432c55f6cacb487e8bf9a17a9460f6a1bc17af48]

Signed-off-by: Modular Magician <magic-modules@google.com>
@modular-magician modular-magician merged commit d666200 into hashicorp:main May 16, 2024
4 checks passed
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.

None yet

1 participant