QuestionQ152
Terraform configurationYou have declared a variable named var.list, which is a list of objects, each with an id attribute.
Which expressions evaluate to a list of the objects’ id attributes?
Choose two
- A [ var.list[*].id ]
- B [ for o in var.list : o.id ]
- C var.list[*].id
- D { for o in var.list : o => o.id }
Community Discussion