terraform plan

The command that compares configuration, state and reality and prints the actions needed to make them match, without changing anything.

In more detail

It first refreshes, asking providers what really exists, then lists each resource to create, update, replace or destroy, with a summary count at the bottom. Read the summary first, then look closely at every replacement and destroy. A plan is a prediction made at one moment: someone else can change things before you apply.

Example

Plan: 1 to add, 0 to change, 0 to destroy.

Related terms

Taught in

References

Certification courses