diff --git a/nodes/main.tf b/nodes/main.tf index cd92682b4ef8aaa53e638261531255a0c4e35d93..f689eac6292a190538cdb598fbca6adce632cad8 100644 --- a/nodes/main.tf +++ b/nodes/main.tf @@ -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 +}