HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 27 Topic 3 Discussion

HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 27 Topic 3 Discussion

Terraform-Associate-003 Exam Topic 3 Question 27 Discussion:
Question #: 27
Topic #: 3

Your root module contains a variable namednum_servers. Which is the correct way to pass its value to a child module with an input namedservers?


A.

servers = num_servers


B.

servers = var(num_servers)


C.

servers = var.num_servers


D.

servers = ${var.num_servers}


Get Premium Terraform-Associate-003 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.