terraform-provider-vcd icon indicating copy to clipboard operation
terraform-provider-vcd copied to clipboard

Empty VM ignores storage_profile property

Open vbauzys opened this issue 2 years ago • 0 comments

vcd_vapp_vm resource function addEmptyVm doesn't use storage_profile value

resource "vcd_vapp_vm" "TestVM" {
  vapp_name     = vcd_vapp.TestVapp.name
  name          = "Test"
  description   = "description-text"
  computer_name = "unique"
  #catalog_name  = "cat-vb"
  #template_name = "photon-hw11"
  memory        = 1024
  cpus          = 1
  cpu_cores     = 1

  os_type                        = "sles11_64Guest"
  hardware_version               = "vmx-13"

  storage_profile = "Development3"
}

The result will be that VM will be created with `default` storage profile.

vbauzys avatar Jun 08 '22 13:06 vbauzys