1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [apply](<https://delaparra-services.nl/knowledge-hub/apply-terraform>)

  

Category: Terraform 

# apply

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is apply?

 

apply: Actually makes the changes to reach the desired state. Asks for confirmation unless you pass -auto-approve. ` terraform apply ` makes the real infrastructure match your configuration. It creates, changes or destroys cloud resources such as servers, databases and DNS records. By default it first shows a plan of every change and asks for confirmation. Read it. Lines marked with a minus or "must be replaced" mean something will be deleted, and for a database that can mean data loss.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about apply

  

### What should you keep in mind with apply?

 

In teams and pipelines, the safer flow is ` terraform plan -out=tfplan `, then a review, then ` terraform apply tfplan `. That way the change applied is exactly the change someone approved. Avoid ` -auto-approve ` outside fully automated and well-tested pipelines. Keep state in a shared, locked backend, so two people cannot apply at the same moment and leave the state file out of sync with reality.

    

### What does an example of apply look like?

 

```
terraform apply tfplan
```

 

## At a glance

   CategoryTerraform Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More Terraform terms

 

- [attribute](<https://delaparra-services.nl/knowledge-hub/attribute>) 
- [block](<https://delaparra-services.nl/knowledge-hub/block>) 
- [count](<https://delaparra-services.nl/knowledge-hub/count>) 
- [data source](<https://delaparra-services.nl/knowledge-hub/data-source>) 
- [depends\_on](<https://delaparra-services.nl/knowledge-hub/depends-on-terraform>) 
- [destroy](<https://delaparra-services.nl/knowledge-hub/destroy>)

 

[All terms starting with A](<https://delaparra-services.nl/knowledge-hub#letter-a>)

 

## Skills

 

- ### Terraform safe workflow

 

Use when running or changing Terraform (or OpenTofu) - init, fmt, validate, plan, apply, destroy, import, state mv/rm, refresh, workspaces, remote backends, state locking, drift, taint/-replace. Enforces a plan-review-apply workflow and protects state.

 [View skill](<https://delaparra-services.nl/skills/terraform-safe-workflow>) [Download zip](<https://delaparra-services.nl/skills/terraform-safe-workflow/download>) 
- ### Terraform Module Library

 

Build reusable Terraform modules for AWS, Azure, GCP, and OCI infrastructure following infrastructure-as-code best practices. Use when creating infrastructure modules, standardizing cloud provisioning, or implementing reusable IaC components.

 [View skill](<https://delaparra-services.nl/skills/terraform-module-library>) [Download zip](<https://delaparra-services.nl/skills/terraform-module-library/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/apply-terraform/skills.zip>)

 

## Manuals

 

- [Kubernetes and Terraform: do you need them?](<https://delaparra-services.nl/manuals/kubernetes-en-terraform-heb-je-het-nodig>)

 

## Related services

 

- [Custom software and web applications](<https://delaparra-services.nl/services#service-03>)

Perhaps your customers need somewhere to download their invoices, or your staff are managing bookings in a spreadsheet.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/apply-terraform)
