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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify base image by name #49

Closed
dm3ch opened this issue Mar 22, 2022 · 1 comment 路 Fixed by #69
Closed

Add ability to specify base image by name #49

dm3ch opened this issue Mar 22, 2022 · 1 comment 路 Fixed by #69

Comments

@dm3ch
Copy link

dm3ch commented Mar 22, 2022

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

Right now builder supports referencing base images only by ID or by Slug. But slug couldn't be used for self-built images, as far as I found in docs.

In current documentation it seems that using image name is possible, but it isn't so - https://github.com/hashicorp/packer-plugin-digitalocean/blob/main/builder/digitalocean/config.go#L43-L47

Use Case(s)

It would allow referencing image without ID for self-built base images.

Potential configuration

Potential References

digitalocean/godo#521

@andrewsomething
Copy link
Member

This seems like it might be a good fit for the new-ish Data Source component type.

https://www.hashicorp.com/blog/announcing-the-packer-data-source-component-type

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

Successfully merging a pull request may close this issue.

2 participants