From a5bd0078893e9c678e1ac6f2c00dd1872926c5f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 28 Sep 2022 14:52:41 +0200 Subject: [PATCH] Bump terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0 (#3339) * Bump terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0 Bumps terraform-linters/tflint-bundle from v0.39.3.1 to v0.41.0.0. --- updated-dependencies: - dependency-name: terraform-linters/tflint-bundle dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Add version constraints Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marco Ferrari --- .../terraform_tflint/good/terraform_tflint_good_1.tf | 10 ++++++++++ .../test/terraform_tflint/modules/ec2_instance/main.tf | 10 ++++++++++ Dockerfile | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/.automation/test/terraform_tflint/good/terraform_tflint_good_1.tf b/.automation/test/terraform_tflint/good/terraform_tflint_good_1.tf index 48b98e43..86676af9 100644 --- a/.automation/test/terraform_tflint/good/terraform_tflint_good_1.tf +++ b/.automation/test/terraform_tflint/good/terraform_tflint_good_1.tf @@ -12,3 +12,13 @@ resource "aws_instance" "good" { encrypted = true } } + +terraform { + required_version = ">=1.0" + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 4.0" + } + } +} diff --git a/.automation/test/terraform_tflint/modules/ec2_instance/main.tf b/.automation/test/terraform_tflint/modules/ec2_instance/main.tf index 48b98e43..86676af9 100644 --- a/.automation/test/terraform_tflint/modules/ec2_instance/main.tf +++ b/.automation/test/terraform_tflint/modules/ec2_instance/main.tf @@ -12,3 +12,13 @@ resource "aws_instance" "good" { encrypted = true } } + +terraform { + required_version = ">=1.0" + required_providers { + aws = { + source = "hashicorp/aws" + version = "~> 4.0" + } + } +} diff --git a/Dockerfile b/Dockerfile index 0736b0d2..aaa780c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ FROM assignuser/chktex-alpine:v0.1.1 as chktex FROM cljkondo/clj-kondo:2022.03.09-alpine as clj-kondo FROM dotenvlinter/dotenv-linter:3.2.0 as dotenv-linter FROM ghcr.io/awkbar-devops/clang-format:v1.0.2 as clang-format -FROM ghcr.io/terraform-linters/tflint-bundle:v0.39.3.1 as tflint +FROM ghcr.io/terraform-linters/tflint-bundle:v0.41.0.0 as tflint FROM golangci/golangci-lint:v1.49.0 as golangci-lint FROM hadolint/hadolint:latest-alpine as dockerfile-lint FROM hashicorp/terraform:1.2.7 as terraform