Skip to content
Snippets Groups Projects
Commit 6b80f48e authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

feat: Add new data volume for XDMod queue data

- Added a new data block storage resource in Terraform configuration.
- Updated the remote-exec provisioner to mount the XDMod queue data volume.
parent c668e1b0
No related branches found
No related tags found
No related merge requests found
...@@ -56,6 +56,7 @@ output "keypair_name" { ...@@ -56,6 +56,7 @@ output "keypair_name" {
data "openstack_networking_network_v2" "external_net" {name = var.external_network} 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" "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 # 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 # calls functions from dmz-network, import-keypair, and floating-ip-address modules to get values created there for use
......
...@@ -26,6 +26,7 @@ variable "ohpc_user" {default = "centos"} ...@@ -26,6 +26,7 @@ variable "ohpc_user" {default = "centos"}
variable "ood_user" {default = "centos"} variable "ood_user" {default = "centos"}
variable "ssh_private_key" {default = "~/.ssh/id_rsa"} variable "ssh_private_key" {default = "~/.ssh/id_rsa"}
variable "data_volume" {default = ""} variable "data_volume" {default = ""}
variable "xdmod_queue_data_volume" {default = "xdmod_queue_data_volume"}
# variables for node creation module # variables for node creation module
variable "image_compute" {default = "compute-v1"} variable "image_compute" {default = "compute-v1"}
......
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