nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · 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.

Navigate the core Terraform workflow

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

(34 responses)
  • A
    82% (28)
  • B
    3% (1)
  • C
    6% (2)
  • D
    9% (3)

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#dependency graph#implicit dependencies#resource graph

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice