HashiCorp Certified: Terraform Associate — Question 130
How does Terraform manage most dependencies between resources?
Answer options
- A. By defining dependencies as modules and including them in a particular order
- B. The order that resources appear in Terraform configuration indicates dependencies
- C. Using the depends_on parameter
- D. Terraform will automatically manage most resource dependencies
Correct answer: D
Explanation
The correct answer is D because Terraform is designed to automatically determine the dependencies between resources based on their configurations. Options A, B, and C suggest manual intervention or specific configurations to manage dependencies, which is not necessary for most cases in Terraform.