terraform apply

The command that carries out a plan, creating, changing and deleting real infrastructure, then records the result in state.

In more detail

Run on its own, it plans again and waits for you to type yes. Given a saved plan file, it applies exactly that plan with no question, or refuses if state has changed since. Even a correct plan can fail halfway, for example on a quota or a permission, so read the apply report as well as the plan.

Example

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

Related terms

Taught in

References

Certification courses