From df033f8f2d3492f4123f7e72dea0c6877cbc3e94 Mon Sep 17 00:00:00 2001 From: akocbek <106765658+akocbek@users.noreply.github.com> Date: Tue, 10 Oct 2023 17:32:08 +0100 Subject: [PATCH] feat: update terraform version constraints to `>= 1.0.0, <1.6.0` (#95) Co-authored-by: Andrej --- README.md | 2 +- examples/basic/version.tf | 2 +- examples/complete/version.tf | 2 +- module-metadata.json | 2 +- version.tf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 302a601..249690c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ You need the following permissions to run this module. | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 1.0.0 | +| [terraform](#requirement\_terraform) | >= 1.0.0, <1.6.0 | | [ibm](#requirement\_ibm) | >= 1.49.0 | | [time](#requirement\_time) | >= 0.9.1 | diff --git a/examples/basic/version.tf b/examples/basic/version.tf index 96fc482..bd1c4d3 100644 --- a/examples/basic/version.tf +++ b/examples/basic/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.0.0" + required_version = ">= 1.0.0, <1.6.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/examples/complete/version.tf b/examples/complete/version.tf index 6435649..e304525 100644 --- a/examples/complete/version.tf +++ b/examples/complete/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.0.0" + required_version = ">= 1.0.0, <1.6.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/module-metadata.json b/module-metadata.json index c6655e1..0be4b47 100644 --- a/module-metadata.json +++ b/module-metadata.json @@ -179,7 +179,7 @@ } }, "required_core": [ - "\u003e= 1.0.0" + "\u003e= 1.0.0, \u003c1.6.0" ], "required_providers": { "ibm": { diff --git a/version.tf b/version.tf index ff98ba6..68caa08 100644 --- a/version.tf +++ b/version.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 1.0.0" + required_version = ">= 1.0.0, <1.6.0" # Use "greater than or equal to" range in modules required_providers { ibm = {