Medium
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: PublishedQuestion passed 6 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!
0
What Terraform command line parameter controls the number of operations performed simultaneously during a `terraform apply`?1
How to use variables defined in a file when creating an execution plan in Terraform?0
What are the valid type statements in Terraform?0
What happens if an error occurs when executing `terraform apply`?2
How to use a local variable in a Terraform resource declaration?0
How to reuse the same code to initialize several environments with different variable values, and different states in Terraform?0
Which provider versions is Terraform allowed to install?