-
-
The lifecycle Meta Argument is used
-
Example:
00_provider.tf
-
-
Lets Execute Terraform commands to understand resource behavior
terraform init
: Initialize terraformterraform validate
: Validate terraform codeterraform fmt
: format terraform codeterraform plan
: Review the terraform planterraform apply
: Create Resources by terraform
-
terraform destroy
: destroy or delete Resources, Cleanup the resources we created- After you type yes to
terraform destroy
prompt, terraform will start destroying resources
- After you type yes to