From 69d3b3cc9c23c81427b66f88c8c8ded3eca02756 Mon Sep 17 00:00:00 2001 From: Xi Bai Date: Thu, 7 Dec 2023 17:32:04 +0000 Subject: [PATCH] update the TF version range --- .github/workflows/cluster.yaml | 2 +- .github/workflows/config.yaml | 2 +- README.md | 2 +- cluster/versions.tf | 2 +- config/versions.tf | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cluster.yaml b/.github/workflows/cluster.yaml index ac3c04d..ae30ac7 100644 --- a/.github/workflows/cluster.yaml +++ b/.github/workflows/cluster.yaml @@ -7,7 +7,7 @@ on: branches: [ main ] env: - TERRAFORM_VERSION: 1.4.2 + TERRAFORM_VERSION: 1.6.5 jobs: build: diff --git a/.github/workflows/config.yaml b/.github/workflows/config.yaml index e0b21d7..0703379 100644 --- a/.github/workflows/config.yaml +++ b/.github/workflows/config.yaml @@ -7,7 +7,7 @@ on: branches: [ main ] env: - TERRAFORM_VERSION: 1.4.2 + TERRAFORM_VERSION: 1.6.5 jobs: build: diff --git a/README.md b/README.md index 4ad2c67..601fd96 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This repository aims to provide [IaC](https://en.wikipedia.org/wiki/Infrastructu [![Terraform validate](https://github.com/phidatalab/RADAR-K8s-Infrastructure/actions/workflows/config.yaml/badge.svg)](https://github.com/phidatalab/RADAR-K8s-Infrastructure/actions/workflows/config.yaml/badge.svg) # Dependencies -[Terraform](https://developer.hashicorp.com/terraform/downloads) ~> 1.4.0 +[Terraform](https://developer.hashicorp.com/terraform/downloads) >= 1.4.0, < 1.7.0
[AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html) >= 2.11 # Usage diff --git a/cluster/versions.tf b/cluster/versions.tf index 99d8363..ca7bc43 100644 --- a/cluster/versions.tf +++ b/cluster/versions.tf @@ -9,5 +9,5 @@ terraform { version = "~> 2.24.0" } } - required_version = "~> 1.4.0" + required_version = ">= 1.4.0, < 1.7.0" } diff --git a/config/versions.tf b/config/versions.tf index 1edd321..58ce00e 100644 --- a/config/versions.tf +++ b/config/versions.tf @@ -17,5 +17,5 @@ terraform { version = "~> 1.14.0" } } - required_version = "~> 1.4.0" + required_version = ">= 1.4.0, < 1.7.0" }