Fix typos in volume definition

This commit is contained in:
Magnus Andersson 2024-01-12 11:14:33 +01:00
parent 52095aedd1
commit 171ea5a1bd
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -23,7 +23,6 @@ resource "openstack_blockstorage_volume_v3" "kubevolumesnap" {
name = "kube${count.index + 1}-matrix-test-sunet-se-vol" name = "kube${count.index + 1}-matrix-test-sunet-se-vol"
description = "OS volume for kubernetes node ${count.index + 1}" description = "OS volume for kubernetes node ${count.index + 1}"
size = 50 size = 50
image_id = data.openstack_images_image_v2.debian12image.id
enable_online_resize = true # Allow us to resize volume while attached. enable_online_resize = true # Allow us to resize volume while attached.
} }
@ -47,6 +46,6 @@ resource "openstack_compute_instance_v2" "kube" {
uuid = resource.openstack_blockstorage_volume_v3.kubevolumesnap[count.index].id uuid = resource.openstack_blockstorage_volume_v3.kubevolumesnap[count.index].id
source_type = "volume" source_type = "volume"
destination_type = "volume" destination_type = "volume"
}
} }