Notifications
Clear all
Topic starter
24/05/2022 5:55 am
What is the standard workflow that a developer follows while working with terraform open source version?
- A . Run terraform refresh to update the terraform state, then write the terraform code, and finally run terraform apply.
- B . Run terraform destroy first since you need to start from fresh every time, before running terraform apply.
- C . Write terraform code, and run terraform push, to update the terraform state to the remote repo, which in turn will take care of the next steps.
- D . Write the terraform code on the developer machine, run terraform plan to check the changes, and run terraform apply to provision the infra.
Suggested Answer: D
Explanation:
You do not need to run terraform refresh as terraform plan implicitly will run terraform refresh.
https://www.terraform.io/guides/core-workflow.html
Explanation:
You do not need to run terraform refresh as terraform plan implicitly will run terraform refresh.
https://www.terraform.io/guides/core-workflow.html