Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
Rapid Infrastructure Deployment
Use Terraform to launch completely provisioned and configured machine instances with Packer images in seconds.
Identical images allow you to run dev, staging, and production environments across platforms.
By provisioning instances from stable images installed and configured by Packer, you can ensure buggy software does not get deployed.
Increased Dev / Production Parity
Keep dev, staging, and production environments as similar as possible by generating images for multiple platforms at the same time.
Reliable Continuous Delivery
Generate new machine images for multiple platforms, launch and test, and verify the infrastructure changes work; then, use Terraform to put your images in production.
Appliance Demo Creation
Create software appliances and disposable product demos quickly, even with software that changes continuously.
What’s new in version 1.8.3
Updated on Aug 04 2022
There's been a change in the way the ssh_timeout and the ssh_handshake_attempts configuration arguments work together. The behaviour is unchanged if both or none are specified. However, if only one of the two is set the other won't have a default value anymore and will be ignored. See Packer Plugin SDK change for details
packer-plugin-digitalocean: The Digital Ocean Packer plugin has been handed over to the Digital Ocean team. New releases for this plugin are available at https://github.com/digitalocean/packer-plugin-digitalocean. This plugin is still being bundled in the Packer binary but will be removed in a future release. Existing references to the plugin will continue to work but users are advised to update the required_plugins block to use the new plugin source address. GH-11912
packer-plugin-outscale: The Outscale Packer plugin managed by the Outscale team, since Packer 1.7.9, has been removed from the Packer binary. Users are advised to install the latest version of the plugin by running packer plugins install github.com/outscale/outscale. GH-11912
packer-plugin-outscale: The Scaleway Packer plugin managed by the Scaleway team, since Packer 1.7.7, has been removed from the Packer binary. Users are advised to install the latest version of the plugin by running packer plugins install github.com/scaleway/scaleway. GH-11912
Future Scaffolding: This release contains additional changes that allow Packer core to validate that a newly built image is a direct child of a HCP Packer registry source image. This feature is only available for HCP Packer enabled builds using the hcp_packer_image and hcp_packer_iteration data source for setting a builder's source image. GH-11861
The following external plugins have been updated and pinned to address open issues. Please see their respective changelogs for details on plugin specific bug fixes and improvements.
email@example.com - CHANGELOG
firstname.lastname@example.org - CHANGELOG
email@example.com - CHANGELOG
firstname.lastname@example.org - CHANGELOG
email@example.com - CHANGELOG
firstname.lastname@example.org - CHANGELOG
email@example.com - CHANGELOG
firstname.lastname@example.org - CHANGELOG
email@example.com - CHANGELOG
Bump packer-plugin-sdk to v0.3.1 to fix inconsistencies between ssh_timeout and ssh_handshake_attempts configuration arguments in the SSH communicator. GH-11909
core: During long running builds the HCP Packer registry will mark a build as timed out if it has not posted an update after a certain number of minutes. For HCP Packer enabled builds a status update will now be sent every 2 minutes to the registry to prevent long builds from being marked as timed out. GH-11846
data/hcp_packer_image: Add component_type configuration argument to support specifying an exact build image when multiple images exist in the same provider and region for a given HCP Packer bucket iteration. GH-11872
data/hcp_packer_image: Add support for channel as input argument to retrieve an image from the associated iteration. If using several images from a single iteration, you may prefer sourcing an iteration first, and referencing it for subsequent uses, as every hcp_packer_image with the channel set will generate a potentially billable HCP Packer request, but if several hcp_packer_images use a shared hcp_packer_iteration that will only generate one potentially billable request. GH-11865
core/hcl2: Fix crash when parsing malformed provisioner override blocks. GH-11881
core/hcl2: Fix crash when running packer validate on templates containing one or more HCP Packer data sources. GH-11883