Skip to content
Snippets Groups Projects
Commit af77f1de authored by Bo-Chun Chen's avatar Bo-Chun Chen Committed by John-Paul Robinson
Browse files

Export compute node ids

Accessible by calling module.nodes.id
 will return a list of compute node id
Mainly using for null-resource trigger
parent f9fdd9b4
No related branches found
No related tags found
No related merge requests found
......@@ -32,4 +32,9 @@ resource "openstack_compute_instance_v2" "compute" {
network {
name = var.internal_network
}
}
\ No newline at end of file
}
# output
output "id" {
value = openstack_compute_instance_v2.compute.*.id
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment