Switch from wata727/tflint to ghcr.io/terraform-linters/tflint-bundle (#1777)

This commit is contained in:
Kazuma Watanabe 2021-07-19 23:32:21 +09:00 committed by GitHub
parent f6910e3ee9
commit 4bdbf17c19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 2 deletions

View file

@ -13,7 +13,7 @@ FROM mstruebing/editorconfig-checker:2.3.5 as editorconfig-checker
FROM yoheimuta/protolint:v0.32.0 as protolint FROM yoheimuta/protolint:v0.32.0 as protolint
FROM golangci/golangci-lint:v1.41.1 as golangci-lint FROM golangci/golangci-lint:v1.41.1 as golangci-lint
FROM koalaman/shellcheck:v0.7.2 as shellcheck FROM koalaman/shellcheck:v0.7.2 as shellcheck
FROM wata727/tflint:0.29.1 as tflint FROM ghcr.io/terraform-linters/tflint-bundle:v0.30.0 as tflint
FROM alpine/terragrunt:1.0.1 as terragrunt FROM alpine/terragrunt:1.0.1 as terragrunt
FROM mvdan/shfmt:v3.3.0 as shfmt FROM mvdan/shfmt:v3.3.0 as shfmt
FROM accurics/terrascan:1.8.0 as terrascan FROM accurics/terrascan:1.8.0 as terrascan
@ -184,6 +184,7 @@ COPY --from=golangci-lint /usr/bin/golangci-lint /usr/bin/
# Install TFLint # # Install TFLint #
################## ##################
COPY --from=tflint /usr/local/bin/tflint /usr/bin/ COPY --from=tflint /usr/local/bin/tflint /usr/bin/
COPY --from=tflint /root/.tflint.d /root/.tflint.d
##################### #####################
# Install Terrascan # # Install Terrascan #

View file

@ -19,7 +19,7 @@ FROM mstruebing/editorconfig-checker:2.3.5 as editorconfig-checker
FROM yoheimuta/protolint:v0.32.0 as protolint FROM yoheimuta/protolint:v0.32.0 as protolint
FROM golangci/golangci-lint:v1.41.1 as golangci-lint FROM golangci/golangci-lint:v1.41.1 as golangci-lint
FROM koalaman/shellcheck:v0.7.2 as shellcheck FROM koalaman/shellcheck:v0.7.2 as shellcheck
FROM wata727/tflint:0.29.1 as tflint FROM ghcr.io/terraform-linters/tflint-bundle:v0.30.0 as tflint
FROM alpine/terragrunt:1.0.1 as terragrunt FROM alpine/terragrunt:1.0.1 as terragrunt
FROM mvdan/shfmt:v3.3.0 as shfmt FROM mvdan/shfmt:v3.3.0 as shfmt
FROM accurics/terrascan:1.8.0 as terrascan FROM accurics/terrascan:1.8.0 as terrascan
@ -126,6 +126,7 @@ COPY --from=golangci-lint /usr/bin/golangci-lint /usr/bin/
# Install TFLint # # Install TFLint #
################## ##################
COPY --from=tflint /usr/local/bin/tflint /usr/bin/ COPY --from=tflint /usr/local/bin/tflint /usr/bin/
COPY --from=tflint /root/.tflint.d /root/.tflint.d
##################### #####################
# Install Terrascan # # Install Terrascan #

View file

@ -4,3 +4,6 @@ config {
force = false force = false
} }
plugin "aws" {
enabled = true
}