GoogleCloudPlatform / terraform-validator

Terraform Validator is not an officially supported Google product; it is a library for conversion of Terraform plan data to CAI Assets. If you have been using terraform-validator directly in the past, we recommend migrating to `gcloud beta terraform vet`.
https://cloud.google.com/docs/terraform/policy-validation
Apache License 2.0
438 stars 93 forks source link

Handle bad enum values returned from the GKE API for `stack_type` #1538

Closed modular-magician closed 1 year ago

modular-magician commented 1 year ago

Fixes https://github.com/hashicorp/terraform-provider-google/issues/14203

If this PR is for Terraform, I acknowledge that I have:

Release Note Template for Downstream PRs (will be copied)

container: fixed a bug creating a diff adding a `stack_type` when GKE omitted `stackType` in API responses from older GKE clusters

Derived from https://github.com/GoogleCloudPlatform/magic-modules/pull/7627