Terraform

Algunas receta suelta:

main.tf

output "my_output" {
  value = local.hey
}

locals.tf

locals {
	my_list = [
    "one",
    "two"
  ]

    hey = [for f in local.my_list :
    {
      value          = f
      something_else = "additional"
    }
  ]
}