Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Shared Information Variables #169

Open
suckatrash opened this issue Jun 5, 2023 · 0 comments
Open

Build Shared Information Variables #169

suckatrash opened this issue Jun 5, 2023 · 0 comments

Comments

@suckatrash
Copy link

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

It would be useful to have similar Build Shared Information Variables that the Amazon EBS provider uses.

Use Case(s)

This would be useful for tagging an image with the source image's name.

Potential configuration

source "googlecompute" "ubuntu-lts" {
  project_id          = "${var.gcp-project}"
  source_image_family = "ubuntu-2204-lts"
  image_labels = {
    image_source = {{ .SourceImgName }}
  }
}

Potential References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant