Skip to content

Commit

Permalink
Merge pull request #220 from mira-miracoli/migrate-beacon
Browse files Browse the repository at this point in the history
blockstorage v3
  • Loading branch information
mira-miracoli authored Dec 3, 2024
2 parents 8d593e9 + 7d73752 commit 2bcf4a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instance_dedicated_beacon.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ resource "random_id" "beacon-volume_name_unique" {
byte_length = 8
}

resource "openstack_blockstorage_volume_v2" "beacon-vol" {
resource "openstack_blockstorage_volume_v3" "beacon-vol" {
name = "beacon-data-vol-${random_id.beacon-volume_name_unique.hex}"
volume_type = "default"
description = "Data volume for beacon VM"
Expand All @@ -51,5 +51,5 @@ resource "openstack_blockstorage_volume_v2" "beacon-vol" {

resource "openstack_compute_volume_attach_v2" "beacon-va" {
instance_id = openstack_compute_instance_v2.beacon.id
volume_id = openstack_blockstorage_volume_v2.beacon-vol.id
volume_id = openstack_blockstorage_volume_v3.beacon-vol.id
}

0 comments on commit 2bcf4a4

Please sign in to comment.