saved plan

A plan written to a file with -out, which terraform apply can later carry out exactly as reviewed.

A plan file can contain secrets in plain text, so anyone who can read the artifact can read them.

In more detail

The file records the precise actions decided against the state at that moment. Applying it asks no question and refuses if state has moved on, which closes the gap between what was reviewed and what is done. The file can contain sensitive values, so store it as carefully as state.

Example

terraform plan -out=tfplan
terraform apply tfplan

Related terms

Taught in

References

Certification courses