From 0c9a1eb6fb543d3e535bacf6b06b79b83946ec06 Mon Sep 17 00:00:00 2001 From: Krish Moodbidri <krish94@uab.edu> Date: Wed, 1 May 2024 12:41:35 -0500 Subject: [PATCH] reused variables for volume TF_VAR_xdmod_* --- ohpc-instance/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ohpc-instance/main.tf b/ohpc-instance/main.tf index c98102a..8309ce7 100644 --- a/ohpc-instance/main.tf +++ b/ohpc-instance/main.tf @@ -79,12 +79,12 @@ resource "openstack_compute_floatingip_associate_v2" "ohpc" { # Attach specific volumes resource "openstack_compute_volume_attach_v2" "attach_prod_volume" { instance_id = openstack_compute_instance_v2.ohpc.id - volume_id = var.prod_volume + volume_id = TF_VAR_data_volume } resource "openstack_compute_volume_attach_v2" "attach_prod_queue_volume" { instance_id = openstack_compute_instance_v2.ohpc.id - volume_id = var.prod_queue_volume + volume_id = TF_VAR_xdmod_queue_data_volume } output "xdmod_instance_id" { value = openstack_compute_instance_v2.ohpc.id -- GitLab