Skip to content
Sarj Repo Standards

terraform-test-files

Replace .tftest files; preserve coverage.

Examples

Terraform-native test file

Before — rejected · error
iac/tests/routing.tftest.hcl
After — preferred
shared rendered-plan validation

Enable this rule

Add the stable ID to enabled_rules in your tracked .repo-standards/repository.toml:

enabled_rules = ["repository/artifacts/terraform-test-files"]

This selects only this rule. To retain the defaults, also include repository/artifacts/untyped-javascript and repository/artifacts/bespoke-iac-verifiers, along with any existing IDs. Omitted or empty selections use the defaults. Setup and staged checks