List of questions
Related questions
Question 17 - Terraform Associate 003 discussion
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 correct answers.
A.
[ var.list [ * ] , id ]
B.
[ for o in var.list : o.Id ]
C.
var.list[*].id
D.
{ for o in var.llst : o => o.id }
Your answer:
0 comments
Sorted by
Leave a comment first