I’m actually using Packer to build AWS AMIs and that works perfectly well.
During the lockdown, I had to use a proxy to reach my company network and so had I to set up proxy settings
“builders” : [
This works very well but I have two issues with that :
1/ If my ssh_config contains a “ProxyCommand”, it will conflict with it and does not let packer reach the newly created instance.
2/ this configuration is specific to my own configuration (proxy) and I’m using it only when I’m at home. So I don’t want to commit it in any way.
As it is contained in a non git-ignored file, it happened several times I commited it.
Event it is my own fault (yes, I should review better before commit ), I’m wondering if there could be a way to specify ssh proxy properties externally ?
I thought about var files, but as it is a communicator properties (and so defined in builders), it seems not eligible to be defined this way (var files don’t allow arrays)
Am I missing something ? Or could that be something that can be improved ?