Skip to content
Sarj Repo Standards

terraform-examples

Document inputs in variables.tf.

Examples

Terraform example variables

Before — rejected · error
deployments/alpha/terraform/terraform.tfvars.example
After — preferred
deployments/alpha/terraform/variables.tf

Enable this rule

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

enabled_rules = ["repository/artifacts/terraform-examples"]

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