Valid TA-002-P Dumps shared by ExamDiscuss.com for Helping Passing TA-002-P Exam! ExamDiscuss.com now offer the newest TA-002-P exam dumps, the ExamDiscuss.com TA-002-P exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com TA-002-P dumps with Test Engine here:
Given the below resource configuration - resource "aws_instance" "web" { # ... count = 4 } What does the terraform resource address aws_instance.web refer to?
Correct Answer: A
Explanation A Resource Address is a string that references a specific resource in a larger infrastructure. An address is made up of two parts: [module path][resource spec] Module path: A module path addresses a module within the tree of modules. It takes the form: module.A.module.B.module.C... Multiple modules in a path indicate nesting. If a module path is specified without a resource spec, the address applies to every resource within the module. If the module path is omitted, this addresses the root module. Given a Terraform config that includes: resource "aws_instance" "web" { # ... count = 4 } An address like this: aws_instance.web[3] Refers to only the last instance in the config, and an address like this: aws_instance.web Refers to all four "web" instances. https://www.terraform.io/docs/internals/resource-addressing.html