Skip to content

google_compute_snapshot - Snapshot cannot be created for Regional disks (google_compute_region_disk) #9053

@maheshwara-bwd

Description

@maheshwara-bwd

Affected Resource(s)

  • google_compute_snapshot

Hi team,

I was not able to create a Snapshot for Regional disks created with google_compute_region_disk.

google_compute_snapshot is not able to find the source disk for Regional disks as it is specifically searching for a disk inside project/<project_name>/zones/<zone_name>/disks/<disk_name> while regional disks are created inside project/<project_name>/regions/<region_name>/disks/<disk_name>

Also, the zone is a mandatory attribute now. Is that really intended?

Please check the screenshot attached below:

  1. Cannot find regional disk which was created in the previous step
    image
  2. Zone is mandatory
    image

Is there any other way of creating a snapshot for a Regional persistent disk or am I missing something? Please help.

Thanks in advance

b/305197705

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions