What You Will Learn
Beginner
- The workflow
- What each command does
The Terraform lifecycle: Write, init, plan, apply, destroy
Terminalbash
terraform init
terraform plan
terraform apply
terraform destroyAlways plan first
Preview changes before applying.Practical Exercise
Run: terraform init
Run: terraform plan
Run: terraform apply
Run: terraform destroy
Key Takeaways
- 4 commands: init, plan, apply, destroy.
- init: download providers.
- plan: preview. apply: create. destroy: delete.
Comments
Comments
Post a Comment