From 507bf38681f856e26e301e30e7652b2a4eefd8f3 Mon Sep 17 00:00:00 2001 From: Chris Jaimon Date: Fri, 18 Aug 2023 10:32:10 +0530 Subject: [PATCH] XDR-4399: Bump terraform version to 1.2.5 --- .terraform-version | 2 +- modules/.gitkeep | 0 modules/sentinel-workbook/README.md | 2 +- modules/sentinel-workbook/main.tf | 2 +- modules/sentinel-workbooks/README.md | 4 +++- modules/sentinel-workbooks/main.tf | 14 +++++++++++++- 6 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 modules/.gitkeep diff --git a/.terraform-version b/.terraform-version index 18efdb9..c813fe1 100644 --- a/.terraform-version +++ b/.terraform-version @@ -1 +1 @@ -1.1.8 +1.2.5 diff --git a/modules/.gitkeep b/modules/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/modules/sentinel-workbook/README.md b/modules/sentinel-workbook/README.md index 18acf18..e2d7c00 100644 --- a/modules/sentinel-workbook/README.md +++ b/modules/sentinel-workbook/README.md @@ -3,7 +3,7 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.12.26 | +| [terraform](#requirement\_terraform) | >= 1.2 | | [null](#requirement\_null) | ~> 3.2.1 | | [template](#requirement\_template) | ~> 2.2.0 | diff --git a/modules/sentinel-workbook/main.tf b/modules/sentinel-workbook/main.tf index d8e38e5..e0214e2 100644 --- a/modules/sentinel-workbook/main.tf +++ b/modules/sentinel-workbook/main.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.2" required_providers { null = { diff --git a/modules/sentinel-workbooks/README.md b/modules/sentinel-workbooks/README.md index f39fccc..317af2e 100644 --- a/modules/sentinel-workbooks/README.md +++ b/modules/sentinel-workbooks/README.md @@ -3,7 +3,9 @@ | Name | Version | |------|---------| -| [terraform](#requirement\_terraform) | >= 0.12.26 | +| [terraform](#requirement\_terraform) | >= 1.2 | +| [null](#requirement\_null) | ~> 3.2.1 | +| [template](#requirement\_template) | ~> 2.2.0 | ## Modules diff --git a/modules/sentinel-workbooks/main.tf b/modules/sentinel-workbooks/main.tf index 1776432..52b2714 100644 --- a/modules/sentinel-workbooks/main.tf +++ b/modules/sentinel-workbooks/main.tf @@ -1,5 +1,17 @@ terraform { - required_version = ">= 0.12.26" + required_version = ">= 1.2" + + required_providers { + null = { + source = "hashicorp/null" + version = "~> 3.2.1" + } + + template = { + source = "hashicorp/template" + version = "~> 2.2.0" + } + } } # Deploy default workbooks