HashiCorp
TERRAFORM-ASSOCIATE-004 · Question #21
How does Terraform manage most dependencies between resources?
The correct answer is A. Terraform will automatically manage most resource dependencies. This is how Terraform manages most dependencies between resources, by using the references between them in the configuration files. For example, if resource A depends on resource B, Terraform will create resource B first and then pass its attributes to resource A.
Submitted by fernanda_arg· Apr 18, 2026Understand Terraform Basics
Question
How does Terraform manage most dependencies between resources?
Options
- ATerraform will automatically manage most resource dependencies
- BUsing the depends_on parameter
- CBy defining dependencies as modules and including them in a particular order
- DThe order that resources appear in Terraform configuration indicates dependencies
How the community answered
(29 responses)- A90% (26)
- B7% (2)
- C3% (1)
Explanation
This is how Terraform manages most dependencies between resources, by using the references between them in the configuration files. For example, if resource A depends on resource B, Terraform will create resource B first and then pass its attributes to resource A.
Topics
#Resource dependencies#Automatic dependency resolution#Terraform graph
Community Discussion
No community discussion yet for this question.