diff --git a/main.tf b/main.tf index e8805382f651ce117357a3d034432e62f10825c2..66a79cc4d300a94a42d7abc69412a0d36e02e625 100644 --- a/main.tf +++ b/main.tf @@ -56,6 +56,7 @@ output "keypair_name" { data "openstack_networking_network_v2" "external_net" {name = var.external_network} data "openstack_blockstorage_volume_v3" "disk" {name = var.data_volume} +data "openstack_blockstorage_volume_v3" "disk2" {name = var.xdmod_queue_data_volume} # runs the ohpc-instance module - creates ohpc instance using variables defined above # calls functions from dmz-network, import-keypair, and floating-ip-address modules to get values created there for use diff --git a/vars.tf b/vars.tf index 11d61852277b38cd42cb3e6681e16849317b11b1..e12b0aff918feaa97254a27a5799335e8fb76101 100644 --- a/vars.tf +++ b/vars.tf @@ -26,6 +26,7 @@ variable "ohpc_user" {default = "centos"} variable "ood_user" {default = "centos"} variable "ssh_private_key" {default = "~/.ssh/id_rsa"} variable "data_volume" {default = ""} +variable "xdmod_queue_data_volume" {default = "xdmod_queue_data_volume"} # variables for node creation module variable "image_compute" {default = "compute-v1"}