hashicorp / hashicorp/packer-plugin-googlecompute

Add disk_attachment labels

Open
#210 1 comment 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Go
Stars
33
Forks
72
Avg merge
6h 47m
Merged PRs (30d)
3

Description

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](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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](https://developer.hashicorp.com/packer/integrations/hashicorp/googlecompute/latest/components/builder/googlecompute#extra-disk-attachments) to build persistent disks, but no way to put labels on them
![image](https://github.com/hashicorp/packer-plugin-googlecompute/assets/15067216/a8c90408-758d-40bd-b881-5f45d2b2273d)

#### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.