Why would you use the -replace flag for terraform apply?
A.
You want Terraform to ignore a resource on the next apply
B.
You want Terraform to destroy all the infrastructure in your workspace
C.
You want to force Terraform to destroy a resource on the next apply
D.
You want to force Terraform to destroy and recreate a resource on the next apply
The Answer Is:
D
This question includes an explanation.
Explanation:
The -replace flag is used with the terraform apply command when there is a need to explicitly force Terraform to destroy and then recreate a specific resource during the next apply. This can be necessary in situations where a simple update is insufficient or when a resource must be re-provisioned to pick up certain changes.
Terraform-Associate-003 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"