11 lines
283 B
HCL
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
|
|
}
|