From 1fb0b3cbb5e4abeb219740ad38d13e9f8e32c4ec Mon Sep 17 00:00:00 2001 From: Mira Kuntz Date: Mon, 16 Dec 2024 11:35:24 +0100 Subject: [PATCH] how long will it take until I remember this --- instance_core_jenkins-worker-bronze.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/instance_core_jenkins-worker-bronze.tf b/instance_core_jenkins-worker-bronze.tf index 13e3461b..19548025 100644 --- a/instance_core_jenkins-worker-bronze.tf +++ b/instance_core_jenkins-worker-bronze.tf @@ -31,7 +31,7 @@ resource "openstack_compute_instance_v2" "jenkins-workers-bronze" { EOF } -resource "openstack_blockstorage_volume_v2" "jenkins-workers-bronze-volume" { +resource "openstack_blockstorage_volume_v3" "jenkins-workers-bronze-volume" { name = "jenkins-workers-bronze-volume" description = "Data volume for Jenkins worker-${count.index}.bronze.build.galaxyproject.eu" volume_type = "default" @@ -41,7 +41,7 @@ resource "openstack_blockstorage_volume_v2" "jenkins-workers-bronze-volume" { resource "openstack_compute_volume_attach_v2" "jenkins-workers-bronze-va" { instance_id = element(openstack_compute_instance_v2.jenkins-workers-bronze.*.id, count.index) - volume_id = element(openstack_blockstorage_volume_v2.jenkins-workers-bronze-volume.*.id, count.index) + volume_id = element(openstack_blockstorage_volume_v3.jenkins-workers-bronze-volume.*.id, count.index) count = var.workers-bronze }