nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #53

How does Terraform determine dependencies between resources?

The correct answer is B. Terraform automatically builds a resource graph based on resources provisioners, special meta-. This is how Terraform determines dependencies between resources, by using the references between them in the configuration files and other factors that affect the order of operations.

Use the core Terraform workflow

Question

How does Terraform determine dependencies between resources?

Options

  • ATerraform requires resource dependencies to be defined as modules and sourced in order
  • BTerraform automatically builds a resource graph based on resources provisioners, special meta-
  • CTerraform requires resources in a configuration to be listed m the order they will be created to
  • DTerraform requires all dependencies between resources to be specified using the depends_on

How the community answered

(29 responses)
  • A
    14% (4)
  • B
    72% (21)
  • C
    3% (1)
  • D
    10% (3)

Explanation

This is how Terraform determines dependencies between resources, by using the references between them in the configuration files and other factors that affect the order of operations.

Topics

#dependency graph#implicit dependencies#resource graph#depends_on

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice