From 019d0b6cc5d84944ad946c74f3a4515ca8008561 Mon Sep 17 00:00:00 2001 From: "akocbek@ie.ibm.com" Date: Mon, 10 Jun 2024 11:29:22 +0100 Subject: [PATCH] fix: remove upper limit for required terraform version --- README.md | 2 +- dynamic_values/config_modules/list_to_map/version.tf | 2 +- dynamic_values/versions.tf | 2 +- examples/basic/version.tf | 2 +- examples/default/version.tf | 2 +- examples/existing_vpc/version.tf | 2 +- examples/hub-spoke-delegated-resolver/version.tf | 2 +- examples/hub-spoke-manual-resolver/version.tf | 2 +- examples/landing_zone/version.tf | 2 +- examples/no-prefix/version.tf | 2 +- modules/management-vpc/README.md | 2 +- modules/management-vpc/version.tf | 2 +- modules/workload-vpc/README.md | 2 +- modules/workload-vpc/version.tf | 2 +- tests/existing-resources/version.tf | 2 +- version.tf | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index c5598169..216a9d13 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ To attach access management tags to resources in this module, you need the follo | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.3.0, <1.7.0 | +| [terraform](#requirement\_terraform) | >= 1.3.0 | | [ibm](#requirement\_ibm) | >= 1.59.0, < 2.0.0 | | [time](#requirement\_time) | >= 0.9.1, < 1.0.0 | diff --git a/dynamic_values/config_modules/list_to_map/version.tf b/dynamic_values/config_modules/list_to_map/version.tf index e2eeb3e8..76920b8f 100644 --- a/dynamic_values/config_modules/list_to_map/version.tf +++ b/dynamic_values/config_modules/list_to_map/version.tf @@ -3,7 +3,7 @@ ############################################################################## terraform { - required_version = ">=1.3.0, <1.7.0" + required_version = ">=1.3.0" } ############################################################################## diff --git a/dynamic_values/versions.tf b/dynamic_values/versions.tf index e2eeb3e8..76920b8f 100644 --- a/dynamic_values/versions.tf +++ b/dynamic_values/versions.tf @@ -3,7 +3,7 @@ ############################################################################## terraform { - required_version = ">=1.3.0, <1.7.0" + required_version = ">=1.3.0" } ############################################################################## diff --git a/examples/basic/version.tf b/examples/basic/version.tf index 859236ca..205e9cb8 100644 --- a/examples/basic/version.tf +++ b/examples/basic/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/examples/default/version.tf b/examples/default/version.tf index ccf089ec..8f51e9e3 100644 --- a/examples/default/version.tf +++ b/examples/default/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/examples/existing_vpc/version.tf b/examples/existing_vpc/version.tf index ccf089ec..8f51e9e3 100644 --- a/examples/existing_vpc/version.tf +++ b/examples/existing_vpc/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/examples/hub-spoke-delegated-resolver/version.tf b/examples/hub-spoke-delegated-resolver/version.tf index c9462728..28018af2 100644 --- a/examples/hub-spoke-delegated-resolver/version.tf +++ b/examples/hub-spoke-delegated-resolver/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/examples/hub-spoke-manual-resolver/version.tf b/examples/hub-spoke-manual-resolver/version.tf index ccf089ec..8f51e9e3 100644 --- a/examples/hub-spoke-manual-resolver/version.tf +++ b/examples/hub-spoke-manual-resolver/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/examples/landing_zone/version.tf b/examples/landing_zone/version.tf index ccf089ec..8f51e9e3 100644 --- a/examples/landing_zone/version.tf +++ b/examples/landing_zone/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/examples/no-prefix/version.tf b/examples/no-prefix/version.tf index ccf089ec..8f51e9e3 100644 --- a/examples/no-prefix/version.tf +++ b/examples/no-prefix/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Ensure that there is always 1 example locked into the lowest provider version of the range defined in the main # module's version.tf (basic), and 1 example that will always use the latest provider version. diff --git a/modules/management-vpc/README.md b/modules/management-vpc/README.md index e0dfd6b3..1c4a08dc 100644 --- a/modules/management-vpc/README.md +++ b/modules/management-vpc/README.md @@ -22,7 +22,7 @@ module management_vpc { | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.3.0, <1.7.0 | +| [terraform](#requirement\_terraform) | >= 1.3.0 | ### Modules diff --git a/modules/management-vpc/version.tf b/modules/management-vpc/version.tf index 9d921dc5..12ad22ab 100644 --- a/modules/management-vpc/version.tf +++ b/modules/management-vpc/version.tf @@ -1,3 +1,3 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" } diff --git a/modules/workload-vpc/README.md b/modules/workload-vpc/README.md index f28533b4..cc7e0105 100644 --- a/modules/workload-vpc/README.md +++ b/modules/workload-vpc/README.md @@ -22,7 +22,7 @@ module workload_vpc { | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.3.0, <1.7.0 | +| [terraform](#requirement\_terraform) | >= 1.3.0 | ### Modules diff --git a/modules/workload-vpc/version.tf b/modules/workload-vpc/version.tf index 9d921dc5..12ad22ab 100644 --- a/modules/workload-vpc/version.tf +++ b/modules/workload-vpc/version.tf @@ -1,3 +1,3 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" } diff --git a/tests/existing-resources/version.tf b/tests/existing-resources/version.tf index eefd78de..fa870dd3 100644 --- a/tests/existing-resources/version.tf +++ b/tests/existing-resources/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works ibm = { diff --git a/version.tf b/version.tf index 205bc543..90de73fb 100644 --- a/version.tf +++ b/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.3.0, <1.7.0" + required_version = ">= 1.3.0" required_providers { # Use "greater than or equal to" range in modules ibm = {