Skip to content

Add disk_attachment labels #210

@Enigo

Description

@Enigo

Please search the existing issues for relevant feature requests, and use the
reaction feature
(https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/)
to add upvotes to pre-existing requests.

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Description

There is a way to build persistent disks, but no way to put labels on them
image

Use Case(s)

Labels help organize your resources

Potential configuration

  disk_attachment {
    volume_type = "pd-ssd"
    volume_size = 60
    keep_device = true
    labels      = {
      env     = "test"
      project = "packer"
    }
  }

Potential References

https://cloud.google.com/sdk/gcloud/reference/compute/disks/add-labels

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions