Skip to content

Commit

Permalink
fix: auth module avoid TPG v4.49.0 (#1535)
Browse files Browse the repository at this point in the history
  • Loading branch information
apeabody committed Jan 20, 2023
1 parent 912da8c commit 95c5c11
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/auth/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
26 changes: 26 additions & 0 deletions test/fixtures/safer_cluster_iap_bastion/version.tf
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit 95c5c11

Please sign in to comment.