Packer user documentation has been moved to the new HashiCorp developer documentation portal. The main Packer site (https://www.packer.io) will continue to be the home for Packer but all requests for general documentation and binary downloads will be redirected to https://developer.hashicorp.com/packer. Users are encouraged to visit the developer documentation portal for access to all Packer related documentation; including integrations with HCP Packer.
The Oracle builder and post-processor are no longer vendored with Packer
core. Users of the Oracle plugin should use packer init to install the
latest version of the plugin. See the Oracle Plugin
Documentation for more
information. GH-11983
HCP Packer environment variables: The behaviour of some HCP Packer-specific environment variables has changed slightly. Refer to HCP Packer in the Packer documentation for a full list of HCP Packer environment variables. GH-12059
HCP_PACKER_REGISTRY environment variable was
previously required to enable the HCP Packer integration. In this release,
the environment variable is now optional, and can be used for disabling the
publishing of metadata for any HCP Packer enabled configuration template.HCP_PACKER_REGISTRY environment variable can be used
to disable publishing to a HCP Packer registry even if the template defines a
hcp_packer_registry block. This can be useful for testing that a template
works as intended prior to pushing metadata to HCP Packer.HCP_PACKER_BUCKET_NAME environment variable is now the only
requirement to push metadata to a HCP Packer registry, in both JSON
and HCL2 templates without a hcp_packer_registry block.use_pwsh configuration argument to support pwsh
in powershell provisioner. GH-11950fieldname type <no value> is invalid. Before executing a
build with the upgraded template you are encouraged to run packer validate
against the template and fix any invalid <no value> references.
GH-12068happycloud.windows-srv-2019),
as opposed to just the build name field (e.g "name"="windows-srv-2019").
Builders with no defined name will continue to publish build
metadate using the builder type as the build name (e.g happycloud).
GH-12059Fetched April 8, 2026