Question from the Terraform : certification training test

How to extract a list of values from a list of objects in Terraform?

Waiting for validation

Consider the following variable declaration:

variable "mylist" {
  type = list(object({id = string}))
}

Which expressions can be used to create a list of id from this variable? (2 correct answers)

Author: Julien WITTOUCKStatus: Waiting for validationQuestion not yet passed
0
Community EvaluationsNo one has reviewed this question yet, be the first!