cliffano / packer-post-processor-json-updater

Packer Post-Processor plugin for updating JSON files
BSD 3-Clause "New" or "Revised" License
10 stars 3 forks source link

API version breaks plugin #5

Open LucasSymons opened 4 years ago

LucasSymons commented 4 years ago

Sadly the plugin won't work with newer versions of packer.

❯ make base
packer validate -var 'component=base' -var version=202002181642 -var-file=templates-vars.json templates/base.json
Failed to initialize build 'amazon-ebs': error initializing post-processor 'json-updater': Incompatible API version with plugin. Plugin version: 4, Ours: 5
make: *** [base] Error 1

my packer version is, 1.5.4 I grabbed the latest release binary and installed it.

cliffano commented 4 years ago

@Akin2Silver Version 2.0.0 should work with Packer 1.5.4, could you please give it a try? https://github.com/cliffano/packer-post-processor-json-updater/releases/tag/v2.0.0