Terraform Lifecycle
Code
This consists of writing or updating your Terraform configuration file.
Init
Initialize your project.
Pull latest providers and modules.
Plan
Speculate what will change or Generate a saved execution plan.
Validate
Ensure types and values are valid.
Ensures required attributes are present.
Apply
Execute the Terraform plan provisioning the infrastructure.
Destroy
Destroy the remote infrastructure.