Hello, Packer community!
Packer v1.6.0 is out, and with it come a few exciting updates:
- HCL support continues to get closer to parity with JSON configs -- Packer now
- supports named builds, only/except flags, and the "packer validate" and "packer console" commands.
- We've implemented SSM support for AWS and IAP support for Google Compute.
- Packer can retrieve files stored on a smb share.
- We've
fixed a long-standing VMware builder bug where Packer can no longer
connect if a guest's dhcpd changes the IP address of the instance during
a build.
- The Artifice post-processor now works with a much wider array of post-processors, allowing easier chaining of Packer builds.
But there's a whole lot more than that! Please take a look at the
changelog for more details!
There are some backwards incompatabilities that you will need to be aware of:
- For
all iso-based builders, the `iso_checksum_type` and `iso_checksum_url`
fields have been removed in favor of simply setting the `iso_checksum`
field.
- For the vsphere-iso builder, the fields `network`,
`network_card`, `disk_size`, `disk_thin_provisioned`, and
`disk_eagerly_scrub` have been deprecated in favor of a storage
configuration block:
https://www.packer.io/docs/builders/vmware/vsphere-iso/#storage-configuration
For both of these backwards-incompatabilities, you can use the
packer fix command to update a config file to use the new format.
Thanks,
Megan and the Packer Team