0

My code:-

resources:

  name: snapshot-4

  type: compute.v1.disk

  properties:

   zone: asia-south1-a

   Kind: compute#snapshot

   sourceDisk: https://www.googleapis.com/compute/v1/projects/project-id/zones/asia-south1-a/disks/disk1 

But it is creating Disk.. i want the snapshot of the disk1..

1 Answers1

0

The only two supported ways to create Persistent Disk snapshots are via the API and via REST or client libraries. At this time there is no possibility to create a PD snapshot using the YAML. However I can recommend you to create a feature request in the Google Cloud Platform issue tracker to review your request.

Milad Tabrizi
  • 480
  • 3
  • 15