_j-6ea
Last Updated: February 25, 2016
·
116
· steve-jansen
D3b2094f1b3386e660bb737e797f5dcc

Skip Packer post-processors when building locally

Want to test a Packer build locally without uploading to Atlas?

There is an open issue to add a command line option to Packer to disable post-processors.

Until then, we can use the awesome jq to strip the post-processor block, then pipe it via stdin to Packer.

jq 'del(."post-processors")' packer.json | packer build -
Say Thanks
Respond