From a99aec272418a034e191d60f801d17bd008a3f55 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Mon, 9 Dec 2024 09:03:25 -0800 Subject: [PATCH] fix: standardize to >= TF v1.3 (#2202) --- modules/acm/versions.tf | 2 +- modules/asm/versions.tf | 2 +- modules/auth/versions.tf | 2 +- modules/binary-authorization/versions.tf | 2 +- .../versions.tf | 2 +- modules/fleet-membership/versions.tf | 2 +- modules/hub-legacy/versions.tf | 2 +- modules/services/versions.tf | 2 +- modules/workload-identity/versions.tf | 2 +- .../safer_cluster_iap_bastion/version.tf | 25 ------------------- 10 files changed, 9 insertions(+), 34 deletions(-) delete mode 100644 test/fixtures/safer_cluster_iap_bastion/version.tf diff --git a/modules/acm/versions.tf b/modules/acm/versions.tf index 66b512bb3b..81ef7e9dac 100644 --- a/modules/acm/versions.tf +++ b/modules/acm/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" provider_meta "google" { module_name = "blueprints/terraform/terraform-google-kubernetes-engine:acm/v34.0.0" diff --git a/modules/asm/versions.tf b/modules/asm/versions.tf index 1227961368..a828c92339 100644 --- a/modules/asm/versions.tf +++ b/modules/asm/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 1.1" + required_version = ">= 1.3" required_providers { kubernetes = { diff --git a/modules/auth/versions.tf b/modules/auth/versions.tf index a1a3c2543b..c22495ce90 100644 --- a/modules/auth/versions.tf +++ b/modules/auth/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" required_providers { google = { source = "hashicorp/google" diff --git a/modules/binary-authorization/versions.tf b/modules/binary-authorization/versions.tf index 8f1d801565..cc1adc15de 100644 --- a/modules/binary-authorization/versions.tf +++ b/modules/binary-authorization/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" required_providers { google = { source = "hashicorp/google" diff --git a/modules/fleet-app-operator-permissions/versions.tf b/modules/fleet-app-operator-permissions/versions.tf index 92243370a9..7595462ea3 100644 --- a/modules/fleet-app-operator-permissions/versions.tf +++ b/modules/fleet-app-operator-permissions/versions.tf @@ -15,7 +15,7 @@ */ terraform { - required_version = ">= 1.2.0" + required_version = ">= 1.3.0" required_providers { google = { diff --git a/modules/fleet-membership/versions.tf b/modules/fleet-membership/versions.tf index 9dfff21d28..02b7d3450e 100644 --- a/modules/fleet-membership/versions.tf +++ b/modules/fleet-membership/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" required_providers { google = { diff --git a/modules/hub-legacy/versions.tf b/modules/hub-legacy/versions.tf index 95e3c8a6a5..e295a7deeb 100644 --- a/modules/hub-legacy/versions.tf +++ b/modules/hub-legacy/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" required_providers { google = { source = "hashicorp/google" diff --git a/modules/services/versions.tf b/modules/services/versions.tf index 21f0d2d161..782f101348 100644 --- a/modules/services/versions.tf +++ b/modules/services/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" provider_meta "google" { module_name = "blueprints/terraform/terraform-google-kubernetes-engine:services/v34.0.0" diff --git a/modules/workload-identity/versions.tf b/modules/workload-identity/versions.tf index c02df4fe15..2d18975a45 100644 --- a/modules/workload-identity/versions.tf +++ b/modules/workload-identity/versions.tf @@ -16,7 +16,7 @@ */ terraform { - required_version = ">= 0.13.0" + required_version = ">= 1.3" required_providers { google = { diff --git a/test/fixtures/safer_cluster_iap_bastion/version.tf b/test/fixtures/safer_cluster_iap_bastion/version.tf deleted file mode 100644 index 46c8c86f1d..0000000000 --- a/test/fixtures/safer_cluster_iap_bastion/version.tf +++ /dev/null @@ -1,25 +0,0 @@ -/** - * 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" - version = ">= 4.51.0" - } - } -}