toset - Functions - Configuration Language | Terraform | HashiCorp Developer
The toset function converts a value to a set.