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

test TF_VAR variables for volumes

parent 0c9a1eb6
No related branches found
No related tags found
No related merge requests found
Pipeline #10632 failed with stages
in 30 seconds
...@@ -79,12 +79,12 @@ resource "openstack_compute_floatingip_associate_v2" "ohpc" { ...@@ -79,12 +79,12 @@ resource "openstack_compute_floatingip_associate_v2" "ohpc" {
# Attach specific volumes # Attach specific volumes
resource "openstack_compute_volume_attach_v2" "attach_prod_volume" { resource "openstack_compute_volume_attach_v2" "attach_prod_volume" {
instance_id = openstack_compute_instance_v2.ohpc.id instance_id = openstack_compute_instance_v2.ohpc.id
volume_id = TF_VAR_data_volume volume_id = data_volume
} }
resource "openstack_compute_volume_attach_v2" "attach_prod_queue_volume" { resource "openstack_compute_volume_attach_v2" "attach_prod_queue_volume" {
instance_id = openstack_compute_instance_v2.ohpc.id instance_id = openstack_compute_instance_v2.ohpc.id
volume_id = TF_VAR_xdmod_queue_data_volume volume_id = xdmod_queue_data_volume
} }
output "xdmod_instance_id" { output "xdmod_instance_id" {
value = openstack_compute_instance_v2.ohpc.id value = openstack_compute_instance_v2.ohpc.id
......
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