Ad space (banner)
AD

Got the fundamentals? A structured Terraform course is a fast way to level up.

Find Terraform courses on Udemy

Affiliate link. Costs you nothing extra.

Lesson 11 / 37

Building Infrastructure with terraform apply

When the plan looks right, use terraform apply. It makes the real infrastructure match your configuration.

The syntax is terraform apply. It shows the plan again and asks for confirmation before proceeding.

Running it creates each resource in dependency order, reporting progress, and finishes with a summary of how many were added, changed and destroyed.

A common stumble is typing -auto-approve out of habit and skipping the one moment designed to make you look at what is about to happen.

In real work, applies to production are gated behind review and run from CI, never casually from a laptop.

Terraform
Try it (type this into the pseudo terminal)
terraform apply

🧑‍💻 You can type this command into the Terraform pseudo terminal to try it yourself (this page itself has no interactive terminal).

Ad space (banner)
Ad space (in-article)