Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 7 Topic 1 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 7 Topic 1 Discussion

Terraform-Associate-004 Exam Topic 1 Question 7 Discussion:
Question #: 7
Topic #: 1

Exhibit:

module " web_stack " {

source = " ./modules/web_stack "

}

Your configuration defines the module block shown in the exhibit. The web_stack module accepts an input variable named servers. Which of the following changes to the module block sets the servers variable to the value of 3?


A.

module " web_stack " {

source = " ./modules/web_stack "

var.servers = 3

}


B.

module " web_stack " {

source = " ./modules/web_stack "

inputs = { servers = 3 }

}


C.

module " web_stack " {

source = " ./modules/web_stack "

servers = 3

}


D.

module " web_stack " {

source = " ./modules/web_stack "

inputs.servers = 3

}


Get Premium Terraform-Associate-004 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.