If count.index is s...
 
Notifications
Clear all

If count.index is set to 2, which of the following values will be assigned to the name attribute of track_tag variable?

1 Posts
1 Users
0 Likes
369 Views
(@hepnerjacques)
Noble Member
Joined: 2 years ago
Posts: 705
Topic starter  

Refer to the following terraform variable definition

variable "track_tag" { type = list default = ["data_ec2","integration_ec2","digital_ec2"]} track_tag = { Name = element(var.track_tag,count.index)}

If count.index is set to 2, which of the following values will be assigned to the name attribute of track_tag variable?

  • A . integration_ec2
  • B . digital_ec2
  • C . track_tag
  • D . data_ec2

Show Answer Hide Answer

Suggested Answer: B

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: