Commit 6f31c440 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

Merge branch 'recursive-tflint' into 'master'

fix(default args): add recursive option to default values

See merge request to-be-continuous/terraform!76
parents 51cf9ee7 b5270f7d
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -428,7 +428,7 @@ Here are variables supported to configure the production environment:
| --------------------- | ---------------------------------------- | ----------------- |
| `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) | `--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws` |
| `TF_TFLINT_ARGS`      | tflint extra [options and args](https://github.com/terraform-linters/tflint/#usage) | `--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws --recursive` |

In addition to a textual report in the console, this job produces the following reports, kept for one day:

+2 −1
Original line number Diff line number Diff line
@@ -147,7 +147,8 @@
        },
        {
          "name": "TF_TFLINT_ARGS",
          "description": "tflint extra [options and args](https://github.com/terraform-linters/tflint/#usage)"
          "description": "tflint extra [options and args](https://github.com/terraform-linters/tflint/#usage)",
          "default": "--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws --recursive"
        }
      ]
    },
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ variables:
  TF_TFSEC_IMAGE: "registry.hub.docker.com/aquasec/tfsec-ci"
  TF_TFSEC_ARGS: "."
  TF_TFLINT_IMAGE: "ghcr.io/terraform-linters/tflint-bundle:latest"
  TF_TFLINT_ARGS: "--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws"
  TF_TFLINT_ARGS: "--enable-plugin=google --enable-plugin=azurerm --enable-plugin=aws --recursive"
  TF_CHECKOV_IMAGE: "registry.hub.docker.com/bridgecrew/checkov"
  TF_CHECKOV_ARGS: "--framework terraform --directory ."
  TF_INFRACOST_IMAGE: "registry.hub.docker.com/infracost/infracost"