TERRAFORM-ASSOCIATE-004 · Question #81
TERRAFORM-ASSOCIATE-004 Question #81: Real Exam Question with Answer & Explanation
The correct answer is B: False. Terraform can manage resource dependencies implicitly or explicitly. Implicit dependencies are created when a resource references another resource or data source in its arguments. Terraform can infer the dependency from the reference and create or destroy the resources in the cor
Question
Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.
Options
- ATrue
- BFalse
Explanation
Terraform can manage resource dependencies implicitly or explicitly. Implicit dependencies are created when a resource references another resource or data source in its arguments. Terraform can infer the dependency from the reference and create or destroy the resources in the correct order. Explicit dependencies are created when you use the depends_on argument to specify that a resource depends on another resource or module. This is useful when Terraform cannot infer the dependency from the configuration or when you need to create a dependency for some reason outside of Terraform's scope.
Topics
Community Discussion
No community discussion yet for this question.