Closed bonsi closed 2 years ago
I see and I now understand why it wouldn't be listed as a required option for the builder itself. For me as a total newcomer to Packer it just wasn't immediately clear because I have to go step by step and start with the examples given, which obviously don't include the SSH options because it's a separate "thing" in Packer-land. The Packer docs are great if you have a general understanding of all the moving parts, but as a newcomer those kind of "inner" workings and how it all fits together aren't that obvious.
Thanks for the feedback! Would it be better if the communicator options are somehow highlighted? I agree that it's kinda hidden information about the communicator. Feel free to suggest any changes to that part as well.
@sylviamoss - the information is there, if you know what you are looking for.
I've got 3 different suggestions, ranking from less to more work :grin: :
ssh_username
to the example at the bottom of the page (just like some of the examples for the amazon-ebs
builder (see here). If newbies like me just copy the examples, they'll have everything they need to get started. Edit: after some more careful inspection of the builder page, I noticed ssh_username
is already included in the JSON example at the bottom of the page. I totally missed that since JSON is no longer relevant for the current Packer version.hcloud.bulder
just like on the amazon-ebs
builder page for exampleYour thoughts?
Required options according to the docs
packer validate
output: