Arif Ali
1ca320e672
* Now with cross-model relations * Added infra and controller model * Fixed lma model * Updated variables and linking to model juju_model resource instead
10 lines
254 B
HCL
10 lines
254 B
HCL
resource "juju_machine" "all_machines" {
|
|
for_each = {
|
|
for index, machine in var.machines:
|
|
machine.machine_id => machine
|
|
}
|
|
model = juju_model.openstack.name
|
|
name = each.value.machine_id
|
|
constraints = each.value.constraints
|
|
}
|