Linters
tfaction runs some linters in test and test-module actions.
- terraform validate
- tflint
- trivy
Enable or disable linters
You can enable or disable the following linters
- tflint
- Trivy
You can configure them at tfaction-root.yaml.
By default, tflint and Trivy is enabled.
You can disable tflint and trivy.
tflint:
enabled: false
trivy:
enabled: false
tflint
tfaction runs tflint and notifies the result.

--

Fix code by tflint --fix
#2104 tfaction >= v1.13.0, tflint >= v0.47.0
Codes are fixed by tflint --fix and a commit is pushed to the feature branch.

By default, this feature is disabled. You can enable this by tfaction-root.yaml.
tflint:
enabled: true
fix: true # Enable `tflint --fix`
Trivy
--