How can i set a count in for_each in terraform

Advertisements I’m learning terraform by building a template to create my infrastructure in the hetzner cloud. For this purpose I’m using the hcloud provider. I create a map variable hosts to create >1 server with different configuration. variable "hosts" { type = map(object({ name = string serverType = string serverImage = string serverLocation = string… Read More How can i set a count in for_each in terraform