diff --git a/modules/auth/versions.tf b/modules/auth/versions.tf index 7c95017d7..7f391af98 100644 --- a/modules/auth/versions.tf +++ b/modules/auth/versions.tf @@ -17,6 +17,13 @@ terraform { required_version = ">= 0.13.0" + required_providers { + google = { + source = "hashicorp/google" + # Avoid v4.49.0 for https://github.com/hashicorp/terraform-provider-google/issues/13507 + version = ">= 4.47.0, != 4.49.0, < 5.0" + } + } provider_meta "google" { module_name = "blueprints/terraform/terraform-google-kubernetes-engine:auth/v24.1.0" diff --git a/test/fixtures/safer_cluster_iap_bastion/version.tf b/test/fixtures/safer_cluster_iap_bastion/version.tf new file mode 100644 index 000000000..7f193ad3b --- /dev/null +++ b/test/fixtures/safer_cluster_iap_bastion/version.tf @@ -0,0 +1,26 @@ +/** + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +terraform { + required_version = ">= 0.13.0" + required_providers { + google = { + source = "hashicorp/google" + # Avoid v4.49.0 for https://github.com/hashicorp/terraform-provider-google/issues/13507 + version = "!= 4.49.0" + } + } +}