Commit 62281365 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch '15-add_tflint_bundle' into 'master'

feat: add plugin for cloud providers in tflint

Closes #15

See merge request to-be-continuous/terraform!13
parents 0de6646f 370c141b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -341,9 +341,9 @@ Examples:

| Name                  | description                              | default value     |
| --------------------- | ---------------------------------------- | ----------------- |
| `TF_TFLINT_IMAGE`     | the Docker image used to run tflint      | `ghcr.io/terraform-linters/tflint:latest`  |
| `TF_TFLINT_IMAGE`     | the Docker image used to run tflint      | `ghcr.io/terraform-linters/tflint-bundle:latest`  |
| `TF_TFLINT_DISABLED`  | Set to `true` to disable tflint                    | _none_ (enabled)  |
| `TF_TFLINT_ARGS`      | tflint extra [options and args](https://github.com/terraform-linters/tflint/#usage) | _none_ |
| `TF_TFLINT_ARGS`      | tflint extra [options and args](https://github.com/terraform-linters/tflint/#usage) | `--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws` |

### `tfsec` job

+2 −1
Original line number Diff line number Diff line
@@ -19,7 +19,8 @@ variables:
  TF_TFSEC_IMAGE: "tfsec/tfsec-ci"
  TF_TFSEC_ARGS: "."

  TF_TFLINT_IMAGE: "ghcr.io/terraform-linters/tflint:latest"
  TF_TFLINT_IMAGE: "ghcr.io/terraform-linters/tflint-bundle:latest"
  TF_TFLINT_ARGS: "--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws"
  TF_CHECKOV_IMAGE: "bridgecrew/checkov"
  TF_CHECKOV_ARGS: "--framework terraform --directory ."
  TF_INFRACOST_IMAGE: "infracost/infracost"