element - Functions - Configuration Language | Terraform | HashiCorp Developer
The element function retrieves a single element from a list.