Notifications
Clear all
Topic starter
16/07/2022 7:45 pm
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
Suggested Answer: B