Terraform / OpenTofu; run only against the intended target and bounded scope
terraform validate
terraform validate
Check Terraform configuration syntax and internal consistency.
Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
fix the exact validation error, then run a reviewed plan against the intended workspace before any apply
Privilege Not recordedState impact Changes stateProduction Unknown
Field glossary
Important fields projected from persisted Command guidance.
provider-independent configuration syntax and internal reference consistency for the initialized working directoryImportant persisted output field; use surrounding guidance for interpretation.
Used in these Topics
Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.
Evidence boundary
What this output can establish — and where you must not over-claim.
Exposes provider-independent configuration syntax and internal reference consistency for the initialized working directory at the exact bounded observation/validation boundary restored from.
Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.
fix the exact validation error, then run a reviewed plan against the intended workspace before any apply
Command guidance
Execution context
Terraform / OpenTofu; run only against the intended target and bounded scope
Use when
Use as the prior manifest-approved bounded observation/validation surface for this exact Topic.
Important fields
provider-independent configuration syntax and internal reference consistency for the initialized working directory
Common problems
Wrong target/context, stale state, missing provider/tool or treating one command as universal root-cause proof.
Operational impact
Read-only observation/validation intent; runtime cost still depends on scope and provider behavior.
Runtime cautions
Record target identity, runtime/tool version and timestamp separately if live output is captured as Evidence.
Technical context
Restores exact/ ownership only; this authored guidance is not observed production Evidence.
Variants · known-good and broken output
Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.
Known-good state patternKnown-good · Terraform
State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent.healthy/terminal
terraform validate — Known-good. State pattern: expected object is present, identity/scope matches the controlled test, terminal state is healthy and relevant counters/results are internally consistent. Why: this command exposes Terraform plan/apply/provider state state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Compare plan and state with an independent provider/resource read, wait for effective readiness conditions, then execute the original consumer transaction. Then repeat the original workload/request and verify the return path.
Exposes provider-independent configuration syntax and internal reference consistency for the initialized working directory at the exact bounded observation/validation boundary restored from.
Does not prove: Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.fix the exact validation error, then run a reviewed plan against the intended workspace before any apply
Transitional state patternTransitional · Terraform
State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples.in-progress
terraform validate — Transitional. State pattern: object exists but negotiation, convergence, reconciliation, retry or recovery is still progressing; timers/counters or stage markers should change between samples. Why: this command exposes Terraform plan/apply/provider state state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Compare plan and state with an independent provider/resource read, wait for effective readiness conditions, then execute the original consumer transaction. Then repeat the original workload/request and verify the return path.
Exposes provider-independent configuration syntax and internal reference consistency for the initialized working directory at the exact bounded observation/validation boundary restored from.
Does not prove: Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.fix the exact validation error, then run a reviewed plan against the intended workspace before any apply
Broken state patternBroken · Terraform
State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause.failed/degraded
terraform validate — Broken. State pattern: expected object is absent, denied, unresolved, failed or divergent from the controlled test; error/result fields identify the directly observed boundary, not automatic root cause. Why: this command exposes Terraform plan/apply/provider state state. What it proves: only the selected object/context and fields directly returned here. What it does not prove: root cause, adjacent dependency health or end-to-end workload success. Next check: Compare plan and state with an independent provider/resource read, wait for effective readiness conditions, then execute the original consumer transaction. Then repeat the original workload/request and verify the return path.
Exposes provider-independent configuration syntax and internal reference consistency for the initialized working directory at the exact bounded observation/validation boundary restored from.
Does not prove: Does not by itself prove root cause, adjacent dependency health, policy correctness outside the selected scope, or end-to-end workload recovery.fix the exact validation error, then run a reviewed plan against the intended workspace before any apply