conseilsti/Terrafrm Format (fmt)
This action uses the `terraform fmt` command to check that all terraform files in a terraform configuration directory are in the canonical format.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| target | Target to the terraform configuration. | no | — |
| check | By default, fmt checks if the input is properly formatted. If you set it to false, code will be formated in a canonical format. | no | true |
| recursive | By default, fmt scans the current directory for configuration files. If you provide a file or a directory for the target argument, then fmt will scan that file or that directory instead. | no | true |
| comment | Whether or not to comment on GitHub pull requests. | no | false |
Outputs
| name | description |
|---|---|
| exitcode | The exit code of the Terraform fmt command. |
| output | The Terraform fmt output. |