Skip to content

Feature request: Label each disk with the name of the VM that it is attached to, if any #27

@JoshuaFox

Description

@JoshuaFox

The current code adds only these labels: the zone of the disk, its name, its region, whether it is attached

Similar to this, need to a method _gcp_instance() to class Disks, and pull that info from the creation-log data which is passed in gcp_object , and they’d get a label like iris_instance

Note: Disk-Instance-Attachment is a mutable value, unlike most values that Iris works with. However, disks are exceptional in that Iris will by default relabel them on each scheduled run in order to capture changes.

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