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

10 lines
254 B
Terraform
Raw Normal View History

resource "juju_machine" "all_machines" {
for_each = {
for index, machine in var.machines:
machine.machine_id => machine
}
model = juju_model.cpe-focal.name
name = each.value.machine_id
constraints = each.value.constraints
}