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 -
Written by Steve Jansen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Packer
Authors
szelechoski
1.324K
coderkungfu
1.18K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#