Skip to content

Commit

Permalink
Merge pull request #224 from mira-miracoli/silver-until-ips-for-kvm
Browse files Browse the repository at this point in the history
how long will it take until I remember this
  • Loading branch information
mira-miracoli authored Dec 16, 2024
2 parents 2921d9d + 1fb0b3c commit b53c3db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instance_core_jenkins-worker-bronze.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
}

Expand Down

0 comments on commit b53c3db

Please sign in to comment.