From 45b6f7db7efb3c9ade084ad413b1d302d52ca27f Mon Sep 17 00:00:00 2001 From: anmolnagpal Date: Mon, 8 Jan 2024 20:19:56 +0530 Subject: [PATCH 1/2] feat: update tf.checks step name and tf and aws version --- _example/multi_node_non_vpc/versions.tf | 4 ++-- _example/multi_node_vpc/versions.tf | 4 ++-- _example/single_node_non_vpc/versions.tf | 4 ++-- _example/single_node_vpc/versions.tf | 4 ++-- versions.tf | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/_example/multi_node_non_vpc/versions.tf b/_example/multi_node_non_vpc/versions.tf index 17ccb11..7c8e3b6 100644 --- a/_example/multi_node_non_vpc/versions.tf +++ b/_example/multi_node_non_vpc/versions.tf @@ -1,11 +1,11 @@ # Terraform version terraform { - required_version = ">= 1.6.1" + required_version = ">= 1.6.6" required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.21.0" + version = ">= 5.31.0" } } } diff --git a/_example/multi_node_vpc/versions.tf b/_example/multi_node_vpc/versions.tf index 17ccb11..7c8e3b6 100644 --- a/_example/multi_node_vpc/versions.tf +++ b/_example/multi_node_vpc/versions.tf @@ -1,11 +1,11 @@ # Terraform version terraform { - required_version = ">= 1.6.1" + required_version = ">= 1.6.6" required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.21.0" + version = ">= 5.31.0" } } } diff --git a/_example/single_node_non_vpc/versions.tf b/_example/single_node_non_vpc/versions.tf index 17ccb11..7c8e3b6 100644 --- a/_example/single_node_non_vpc/versions.tf +++ b/_example/single_node_non_vpc/versions.tf @@ -1,11 +1,11 @@ # Terraform version terraform { - required_version = ">= 1.6.1" + required_version = ">= 1.6.6" required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.21.0" + version = ">= 5.31.0" } } } diff --git a/_example/single_node_vpc/versions.tf b/_example/single_node_vpc/versions.tf index 17ccb11..7c8e3b6 100644 --- a/_example/single_node_vpc/versions.tf +++ b/_example/single_node_vpc/versions.tf @@ -1,11 +1,11 @@ # Terraform version terraform { - required_version = ">= 1.6.1" + required_version = ">= 1.6.6" required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.21.0" + version = ">= 5.31.0" } } } diff --git a/versions.tf b/versions.tf index 17ccb11..7c8e3b6 100644 --- a/versions.tf +++ b/versions.tf @@ -1,11 +1,11 @@ # Terraform version terraform { - required_version = ">= 1.6.1" + required_version = ">= 1.6.6" required_providers { aws = { source = "hashicorp/aws" - version = ">= 5.21.0" + version = ">= 5.31.0" } } } From 1c5238513bdd445c4684dc5b9a87b5337db792db Mon Sep 17 00:00:00 2001 From: anmolnagpal Date: Tue, 9 Jan 2024 23:14:54 +0530 Subject: [PATCH 2/2] feat: update tfsec with workflow latest tag --- .github/workflows/automerge.yml | 2 +- _example/single_node_vpc/main.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 08a77e2..b7d8862 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -8,5 +8,5 @@ jobs: secrets: GITHUB: ${{ secrets.GITHUB }} with: - tfcheck: 'tf-checks-single_node_vpc-example / Evaluate Terraform versions (1.6.1, ./_example/single_node_vpc/)' + tfcheck: 'tf-checks-multi_node_non_vpc-example / Check code format' ... diff --git a/_example/single_node_vpc/main.tf b/_example/single_node_vpc/main.tf index 23125a8..41cc96b 100644 --- a/_example/single_node_vpc/main.tf +++ b/_example/single_node_vpc/main.tf @@ -2,7 +2,7 @@ ## Provider block added, Use the Amazon Web Services (AWS) provider to interact with the many resources supported by AWS. ##------------------------------------------------------------------------------ provider "aws" { - region = "eu-west-1" + region = local.region } locals { region = "eu-west-1"