juju_machine (List Resource)¶
Example Usage¶
list "juju_machine" "this" {
provider = juju
include_resource = true
config {
model_uuid = "<model-uuid>"
# Optional: filter by machine name
# name = "my-machine"
}
}
Schema¶
Required¶
model_uuid(String) The UUID of the model in which to list machines.
Optional¶
name(String) The name of the machine.