Hello Packer Community,
Packer version 1.7.1 has been released. This release is packed with improvements to HCL2, fixes for a number of Packer regressions, and marks the beginning of the Packer plugin extraction.
In this release a collection of plugins that were bundled together with Packer core have been extracted into their respective repositories and will now follow their own release process. To ensure users are able to continue using Packer without issue, the extracted plugins are still bundled into the main Packer binary. However, users wishing to take advantage of any new features of the extracted plugins should use `packer init` to install the latest plugin version.
For a full list of extracted plugins please see the changelog.
Heads up for our early adopters, a backwards incompatible change was found in version v0.0.6 of the packer-plugin-docker multi-component plugin. If you have begun testing packer init with the extracted version of Docker it is recommended that you upgrade the latest version v0.0.7.
Notable Improvements
Packer releases now include darwin/arm64 binaries.
A new legacy_isotime function for HCL2 templates. This feature makes it easier to upgrade JSON templates that use the isotime function.
Official support for using dynamic blocks with a build block to construct multiple source blocks from a map of attributes.
The hcl2_upgrade command can now upgrade JSON var-files alongside JSON templates.
The fmt command now has a recursive flag for formatting HCL templates within subdirectories.
Notable Bug Fixes:
The Azure builder now properly cleans up temporary managed OS disks.
The Amazon SDK has been upgraded to fix an SSO login issue.
The vagrant-cloud post-processor no longer errors when uploading boxes to Vagrant cloud.
The vsphere builder now retries key entry when there is a failure inputting a key during the boot command process.
Take a look at the changelog for more details about other updates bundled into this release.
As always, we want to hear from you if you have any issues or ideas. We're really excited for this next phase of Packer and hope you are too.
Thanks,
The Packer team