You have used Terraform to create an ephemeral development environment in the cloud and are now ready to destroy all the infrastructure described by your Terraform configuration. To be safe, you would like to first see all the infrastructure that will be deleted by Terraform. Which command should you use to show all of the resources that will be deleted? (Choose two.)
A) Run terraform plan -destroy.
B) This is not possible. You can only show resources that will be created.
C) Run terraform state rm *.
D) Run terraform destroy and it will first output all the resources that will be deleted before prompting for approval.
Correct Answer:
Verified
Q14: What command does Terraform require the first
Q15: One remote backend configuration always maps to
Q16: You have recently started a new job
Q17: What does the default "local" Terraform backend
Q18: You have provisioned some virtual machines (VMs)
Q20: How is the Terraform remote backend different
Q21: Only the user that generated a plan
Q22: What command should you run to display
Q23: Examine the following Terraform configuration, which uses
Q24: When does terraform apply reflect changes in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents