Which options will produce a list of the IDs?

You have declared a variable called var.list which is a list of objects that all have an attribute id.

Which options will produce a list of the IDs? (Choose two.)
A . { for o in var.list : o => o.id }
B . var.list[*].id
C . [ var.list[*].id ]
D . [ for o in var.list : o.id ]

Answer: A,B

Latest TA-002-P Dumps Valid Version with 324 Q&As

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

Subscribe
Notify of
guest
1 Comment
Inline Feedbacks
View all comments
terraform
terraform
1 year ago

correct answer is

BD