Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update PostProcessor interface for Packer 1.4.0
Packer 1.4.0 introduced breaking changes to the plugin interface[1]: 1. Builder, provisioner, and post-processor plugins now require a `context.Context`. 2. Post-processor plugins also return a Boolean indicating whether the plugin should ignore `keep_input_artifact`. As of writing, these changes are not documented in the plugin documentation or release notes[2][3]. References: 1. hashicorp/packer#7440 2. https://github.com/hashicorp/packer/blob/4639f92f638a5186e5dcefd733dd1f77ee44de35/website/source/docs/extending/custom-post-processors.html.md 3. https://github.com/hashicorp/packer/blob/4639f92f638a5186e5dcefd733dd1f77ee44de35/CHANGELOG.md Fixes: #5 (#5)
- Loading branch information