Skip to content

Snapshot schedule on regional disks #3607

@canchesi

Description

@canchesi

Affected components

  • Fabric modules
  • FAST
  • Blueprints
  • Other

The problem

Hello,
I just noticed that on line 187 of v50.0.0/modules/compute-vm/resource-policies.tf the module is looking for google_compute_disk, while it should look for google_compute_region_disk.
Am I wrong?

Release version

d21e9c5

Terraform version

Terraform v1.12.2 on linux_amd64

Steps to reproduce

Just try to deploy a VM with a regional disks and associate a snapshot schedule to it.

Expected behavior

Attach a snapshot schedule to the regional disks.

Actual behavior

A Terraform index error, because it cannot find a zonal disk.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions