Common fast feedback step before plan/apply.
Section: Governance and Team Workflows
Basic validation step
bash
bash
terraform fmt -check -recursive && terraform init -backend=false && terraform validateExplanation
Common fast feedback step before plan/apply.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Governance and Team Workflows
Save plan as pipeline artifact
Persist both binary and JSON plan outputs for later review or policy checks.
Custom TF_DATA_DIR in CI
Isolate Terraform local data in ephemeral build environments.
Alternate CLI config file
Use a project-specific CLI configuration in CI or containers.