Vsphere_virtual_disk size issue

Hey there,

I am trying to create vsphere_virtual_disk however stuck in one issue.

resource “vsphere_virtual_disk” “disk_2” {

vmdk_path = “sharedwal/walbackup.vmdk”

size = 10

datacenter = var.dcname

datastore = “var.datastorename”

type = “thin”


Here disk with name walbackup.vmdk creating in sharedwal but created with 0 Kb and terraform apply says still creating and going in the infinite mode of still creating. I waited for 1 hour still getting
module.edb-db-cluster.vsphere_virtual_disk.disk_2: Still creating… [1h10s elapsed]

I am using terraform version 0.12.20.

Can someone please help me with this?