thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Terraform Workflow

The core Terraform lifecycle: write configuration, then init, plan, apply, and eventually destroy.

Definition

terraform init downloads providers and modules and configures the backend; validate checks syntax; fmt formats code; plan previews changes; apply executes them; destroy removes managed resources.

Example

terraform fmt -check && terraform validate && terraform plan

Exam tip

init must run first and again after adding providers, modules, or changing backends.

Related terms