terraform/juju/home-maas-focal/lma/21-machines.tf
2024-06-25 12:35:22 +01:00

11 lines
283 B
HCL

resource "juju_machine" "lma_machines" {
for_each = {
for index, machine in var.lma-machines:
machine.machine_id => machine
}
model = var.lma-model-name
name = each.value.machine_id
constraints = each.value.constraints
base = each.value.base
}