Plan file

A plan file is the saved output of terraform plan -out. Passing it to terraform apply applies exactly the reviewed changes, without recomputing, which guarantees that what was approved is what gets executed. It may contain sensitive values and must be protected.

Example

terraform plan -out=tfplan
terraform apply tfplan

Related concepts

The whole glossary