Last Updated: February 25, 2016
·
726
· steve-jansen

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 -