-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Clean up / explain 'packer init' use #11541
Comments
Hi @pwillis-els thanks for opening up this issue. We can clear this up a bit for sure. I'll work on getting a quick doc PR open to help out. In the meantime, the Trying to run |
This issue has been synced to JIRA for planning. JIRA ID: HPR-750 |
+1 On this Any updates?
init should be able to view the pkvars file or at least not fail on an init because they're being defined in var files. |
Adds additional examples and help regarding the use of `packer init`. Ref: #11541 Signed-off-by: Ryan Johnson <ryan@tenthirtyam.org>
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Description
The
packer init
command does not explain the[config.pkr.hcl|folder/]
option. I have tried to use it and I just get errors. Don't know what this option is for or how to use it.The Documentation on Packer
init
command does not explain thisconfig.pkr.hcl
option.I assumed I could pass in the same
.pkr.hcl
values-only file that is passed using-var-file
topacker build
. However, if you do that,packer init
dies with errors.Current
packer init --help
output:Use Case(s)
Any relevant use-cases that you see.
Potential configuration
Potential References
The text was updated successfully, but these errors were encountered: