ExamGecko
Question list
Search
Search

Question 63 - Terraform Associate 003 discussion

Report
Export

Terraform can only manage resource dependencies if you set them explicitly with the depends_on argument.

A.
True
Answers
A.
True
B.
False
Answers
B.
False
Suggested answer: B

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 thedepends_onargument 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.Reference= :Create resource dependencies:Terraform Resource Dependencies Explained

asked 18/09/2024
Himal Rai
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first