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

add interpolation of template variables #2

Closed mbicz closed 8 years ago

cliffano commented 8 years ago

Thanks for the PR, much appreciated :).

cliffano commented 8 years ago

Just a note, I'm going to separate the two changes. I'll release interpolation support in version 1.1 .

But the multi ami-ids / multi regions support will go to 2.0 later on since it changes the behaviour of this post processor. I think the guts of the second change is to handle multi builds, I'll modify your PR a bit to add more flexibility to the output. There are users who do not wish to use region as the output key, others wish to use other field as key like AMI name.