Skip to content

Commit

Permalink
Switch from wata727/tflint to ghcr.io/terraform-linters/tflint-bundle (
Browse files Browse the repository at this point in the history
  • Loading branch information
wata727 authored Jul 19, 2021
1 parent f6910e3 commit 4bdbf17
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ FROM mstruebing/editorconfig-checker:2.3.5 as editorconfig-checker
FROM yoheimuta/protolint:v0.32.0 as protolint
FROM golangci/golangci-lint:v1.41.1 as golangci-lint
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 mvdan/shfmt:v3.3.0 as shfmt
FROM accurics/terrascan:1.8.0 as terrascan
Expand Down Expand Up @@ -184,6 +184,7 @@ COPY --from=golangci-lint /usr/bin/golangci-lint /usr/bin/
# Install TFLint #
##################
COPY --from=tflint /usr/local/bin/tflint /usr/bin/
COPY --from=tflint /root/.tflint.d /root/.tflint.d

#####################
# Install Terrascan #
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile-slim
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FROM mstruebing/editorconfig-checker:2.3.5 as editorconfig-checker
FROM yoheimuta/protolint:v0.32.0 as protolint
FROM golangci/golangci-lint:v1.41.1 as golangci-lint
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 mvdan/shfmt:v3.3.0 as shfmt
FROM accurics/terrascan:1.8.0 as terrascan
Expand Down Expand Up @@ -126,6 +126,7 @@ COPY --from=golangci-lint /usr/bin/golangci-lint /usr/bin/
# Install TFLint #
##################
COPY --from=tflint /usr/local/bin/tflint /usr/bin/
COPY --from=tflint /root/.tflint.d /root/.tflint.d

#####################
# Install Terrascan #
Expand Down
3 changes: 3 additions & 0 deletions TEMPLATES/.tflint.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ config {
force = false
}

plugin "aws" {
enabled = true
}

0 comments on commit 4bdbf17

Please sign in to comment.