HashiCorp
TA-002-P · Question #223
During a terraform apply, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #223. The question stem and answer options stay visible for context.
Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)
Question
During a terraform apply, a resource is successfully created but eventually fails during provisioning. What happens to the resource?
Options
- AThe resource will be planned for destruction and recreation upon the next terraform apply
- BTerraform will retry to provision again.
- CThe failure of provisioner will be ignored and it will not cause a failure to terraform apply
- DThe resource will be automatically destroyed.
Unlock TA-002-P to see the answer
You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#terraform apply#provisioners#resource lifecycle#error handling