terraform-style-guide
Installation
SKILL.md
OpenTofu Style Guide
Write HCL that is correct, readable, and OpenTofu-first.
In this repository, OpenTofu is the default runtime. Command examples, validation steps, and workflow choices should therefore use tofu, not terraform, unless the user explicitly asks for Terraform.
Runtime Defaults
- Run infrastructure commands from
terraform/, not from the repository root. - Prefer these commands for verification:
cd terraform
tofu fmt -recursive
tofu validate
tofu plan -var-file=terraform.tfvars