Try to make ordering work without depends_on

This commit is contained in:
Magnus Andersson 2024-01-12 19:42:12 +01:00
parent 10f7366ee8
commit 539de02daf
Signed by: mandersson
GPG key ID: 19CB2C58E1F19B16

View file

@ -59,5 +59,4 @@ resource "openstack_compute_volume_attach_v2" "snapvolattach" {
instance_id = openstack_compute_instance_v2.kube[count.index].id instance_id = openstack_compute_instance_v2.kube[count.index].id
volume_id = openstack_blockstorage_volume_v3.kubevolumesnap[count.index].id volume_id = openstack_blockstorage_volume_v3.kubevolumesnap[count.index].id
count = var.kubesize count = var.kubesize
depends_on = [ resource.openstack_compute_instance_v2.kube[count.index] ]
} }