terraform/juju/home-maas-jammy/03-machines.tf

10 lines
243 B
Terraform
Raw Normal View History

2024-06-25 08:36:05 +00:00
resource "juju_machine" "all_machines" {
for_each = {
for index, machine in var.machines:
machine.machine_id => machine
}
model = var.model-name
name = each.value.machine_id
constraints = each.value.constraints
}