TA-002-P · Question #375
TA-002-P Question #375: Real Exam Question with Answer & Explanation
The correct answer is A: depends_on. The depends_on meta-argument allows explicit declaration of dependencies between resources when Terraform's implicit dependency analysis is insufficient.
Question
You need to specify a dependency manually. What resource meta-parameter can you use lo make sure Terraform respects thee dependency? Type your answer in the field provided. The text field is not case-sensitive and all variations of the correct answer are accepted.
Options
- Adepends_on
- Bdepends_off
Explanation
The depends_on meta-argument allows explicit declaration of dependencies between resources when Terraform's implicit dependency analysis is insufficient.
Common mistakes.
- B. depends_off is not a valid meta-parameter in Terraform for managing resource dependencies.
Concept tested. Terraform explicit resource dependencies
Reference. https://developer.hashicorp.com/terraform/language/meta-arguments/depends_on
Topics
Community Discussion
No community discussion yet for this question.