Fix typos in volume definition
This commit is contained in:
parent
52095aedd1
commit
171ea5a1bd
3
kube.tf
3
kube.tf
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue