VMware Cloud Community
FetBen
Contributor
Contributor

boot-disk of VM on the non default datastore of blue print of cloud assembly

I tried to build a VM by blue print of  cloud assembly of VMware Realize Automation,  Storage profile default datastore was "tanzu-vmgp01-vsan", I tried to build a VM of boot disk on another datastore "tanzugp01-LUN3" , It always built VM on the  datastore "tanzu-vmgp01-vsan" , Sample code is below,  Is it correct?  otherwise, is it support to buld VM of boot-disk on non default datastore ? 

 

formatVersion: 1

inputs:

  Hostname:

    type: string

resources:

  Cloud_vSphere_Machine_1:

    type: Cloud.vSphere.Machine

    properties:

      name: '${input.Hostname}'

      image: windows

      cpuCount: 1

      totalMemoryMB: 1024

     

  Cloud_vsphere-disk-001:

    type: Cloud.vSphere.Disk

    properties:

      name: boot-disk

      type: HDD

      capacityGb: 35

      dataStore: tanzugp01-LUN3

      provisioningType: thin

 

Ben 

Labels (1)
Reply
0 Kudos
0 Replies