Skip to content

Commit

Permalink
Replace --module to --call-module-type=all (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
massongit authored Aug 12, 2024
1 parent 4adc549 commit 0a8c6a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ The default is `false`.

Optional. List of arguments to send to `tflint`.
For the output to be parsable by reviewdog [`--format=checkstyle` is enforced](./entrypoint.sh).
The default is `--module`.
The default is `--call-module-type=all`.

## Outputs

Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
run: |
brew install terraform
# Run init to get module code to be able to use `--module`
# Run init to get module code to be able to use `--call-module-type=all`
- name: Terraform init
run: |
terraform init
Expand All @@ -140,7 +140,7 @@ jobs:
filter_mode: "nofilter" # Optional. Check all files, not just the diff
tflint_version: "v0.24.0" # Optional. Custom version, instead of latest
tflint_rulesets: "azurerm google" # Optional. Extra official rulesets to install
flags: "--module" # Optional. Add custom tflint flags
flags: "--call-module-type=all" # Optional. Add custom tflint flags
```
## Development
Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ inputs:
description: |
List of arguments to send to tflint
For the output to be parsable by reviewdog --format=checkstyle is enforced
Default is --module.
default: '--module'
Default is --call-module-type=all.
default: '--call-module-type=all'

outputs:
tflint-return-code:
Expand Down

0 comments on commit 0a8c6a4

Please sign in to comment.