User Tools

Site Tools


informatica:linux:terraform

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"
    }
  ]
}
informatica/linux/terraform.txt · Last modified: 2022/07/07 10:44 by javi