From 7622be964f3fb4175f9a775e3c0c81cc1b11d152 Mon Sep 17 00:00:00 2001 From: Tim Gatzemeier Date: Sat, 7 Nov 2020 22:40:52 +0100 Subject: [PATCH 1/3] update required_providers and aws provider version --- main.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 5d3f243..2b0bc0a 100644 --- a/main.tf +++ b/main.tf @@ -2,7 +2,10 @@ terraform { required_version = ">= 0.12.1" required_providers { - aws = "~> 2.25" + aws = { + source = "hashicorp/aws" + version = "~> 3.3" + } } } From 093d404ec6e73aaa79db661ccb3c32dc4751c7c0 Mon Sep 17 00:00:00 2001 From: Tim Gatzemeier Date: Sat, 21 Nov 2020 16:31:09 +0100 Subject: [PATCH 2/3] require terraform >= 0.13 --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 2b0bc0a..3cc09fe 100644 --- a/main.tf +++ b/main.tf @@ -1,5 +1,5 @@ terraform { - required_version = ">= 0.12.1" + required_version = ">= 0.13.0" required_providers { aws = { From 8cfacecefcca04b1e7ebbe37a57191c6117064cd Mon Sep 17 00:00:00 2001 From: Tim Gatzemeier Date: Sat, 21 Nov 2020 16:32:39 +0100 Subject: [PATCH 3/3] update terraform ci version to 0.13.5 --- .github/workflows/terraform-pull-request.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/terraform-pull-request.yaml b/.github/workflows/terraform-pull-request.yaml index 2a41cc1..2984d43 100755 --- a/.github/workflows/terraform-pull-request.yaml +++ b/.github/workflows/terraform-pull-request.yaml @@ -25,19 +25,19 @@ jobs: - name: 'Terraform Init' uses: hashicorp/terraform-github-actions@v0.8.0 with: - tf_actions_version: 0.12.24 + tf_actions_version: 0.13.5 tf_actions_subcommand: 'init' tf_actions_working_dir: ${{ matrix.stack }} args: '-backend=false' - name: 'Terraform Format' uses: hashicorp/terraform-github-actions@v0.8.0 with: - tf_actions_version: 0.12.24 + tf_actions_version: 0.13.5 tf_actions_subcommand: 'fmt' tf_actions_working_dir: ${{ matrix.stack }} - name: 'Terraform Validate' uses: hashicorp/terraform-github-actions@v0.8.0 with: - tf_actions_version: 0.12.24 + tf_actions_version: 0.13.5 tf_actions_subcommand: 'validate' tf_actions_working_dir: ${{ matrix.stack }}