Skip to content
Snippets Groups Projects

Compute nodes post provisioning

1 file
+ 6
1
Compare changes
  • Side-by-side
  • Inline
  • 3bed2fcf
    Export compute node ids · 3bed2fcf
    Bo-Chun Chen authored
    Accessible by calling module.nodes.id
     will return a list of compute node id
    Mainly using for null-resource trigger
+ 6
1
@@ -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
}
Loading