HashiCorp Certified: Terraform Associate (003) — Question 16

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

Answer options

Correct answer: B

Explanation

The correct answer is B because Terraform can automatically infer dependencies between resources based on their references, so explicit use of depends_on is not always necessary. Answer A is incorrect as it suggests that Terraform relies solely on explicit definitions to manage dependencies.