Terraform is a formatter for Terraform. You can enable the Terraform formatter with:Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-flaky-tests-new-monitors.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Auto Enabling
Terraform will never be auto-enabled. It must be enabled manually.Usage Notes
We currently supportterraform validate and terraform fmt, but only fmt is enabled by default when you add terraform to your enabled list in trunk.yaml. To enable validate, add this to your trunk.yaml:
terraform init before running trunk check with terraform validate enabled (both locally, or on CI).
Links
- Terraform site
- Terraform Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo