Skip to content
Snippets Groups Projects
Commit c668e1b0 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Merge branch 'feat-volume-update' into 'master'

Change the volume version to v3 for cinder v3

See merge request rc/terraform-openstack!32
parents 063daa1a 41c9f677
No related branches found
No related tags found
1 merge request!32Change the volume version to v3 for cinder v3
Pipeline #9217 failed with stages
in 15 seconds
......@@ -55,7 +55,7 @@ output "keypair_name" {
}
data "openstack_networking_network_v2" "external_net" {name = var.external_network}
data "openstack_blockstorage_volume_v2" "disk" {name = var.data_volume}
data "openstack_blockstorage_volume_v3" "disk" {name = var.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
......@@ -71,7 +71,7 @@ module "create-ohpc-instance" {
floating_ip_ohpc = module.floating-ip-address.ohpc_address
ohpc_user = var.ohpc_user
ssh_private_key = var.ssh_private_key
vol_id = data.openstack_blockstorage_volume_v2.disk.id
vol_id = data.openstack_blockstorage_volume_v3.disk.id
}
# runs the ood-instance module - creates ood instance using variables defined above
......
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