github hashicorp/packer v1.8.7

latest releases: v1.12.0-alpha1, v1.11.2, v1.11.1...
18 months ago

1.8.7 (May 4, 2023)

Warning
The version/version.go file tagged in this release refers to 1.8.6. If you are building Packer from source
please make sure to set the version information using ldflags at build time.

LD_FLAGS="-X github.com/hashicorp/packer/version.Version=1.8.7 -X github.com/hashicorp/packer/version.VersionPrerelease="
go build -o "$BIN_PATH"  --ldflags=$LD_FLAGS

NOTES:

  • Vendored plugins within Packer have not been updated. Plugin releases occur on
    a regular basis to address issues and feature requests. Users are encouraged
    to use packer init for HCL2 templates or packer plugins install with
    legacy JSON templates for installing external plugins.

  • 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.

     required_plugins {
     	digitalocean = {
     	 source =  "github.com/digitalocean/digitalocean"
     	 version = ">=1.1.1"
     	}
     }
    
  • packer-plugin-linode: The Linode plugin has been handed over to the Linode
    team. New releases for this plugin are available at
    https://github.com/linode/packer-plugin-linode. This plugin is is no longer
    being bundled in the Packer binary 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-12329

     required_plugins {
       linode = {
         source  =  "github.com/linode/linode"
         version = ">=1.0.5"
        }
    }
    
  • packer-plugin-ucloud: The UCloud plugin has been handed over to the UCloud
    team. New releases for this plugin are available at
    https://github.com/ucloud/packer-plugin-ucloud. This plugin is is no longer
    being bundled in the Packer binary 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-12335

     required_plugins {
        ucloud = {
         source  =  "github.com/ucloud/ucloud"
         version = ">=1.0.8"
        }
    }
    
  • packer-plugin-profitbricks: The Profitbricks plugin has been removed as a
    bundled plugin in Packer. New releases for this plugin are available at
    https://github.com/hashicorp/packer-plugin-profitbricks. This plugin is is
    no longer being bundled in the Packer binary 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-12385

     required_plugins {
        ucloud = {
         source  =  "github.com/hashicorp/profitbricks"
         version = ">=1.0.2"
        }
    }
    

PLUGINS

  • core: Migrate external Linode plugin to linode/packer-plugin-linode.
    GH-12329
  • core: Migrate external UCloud plugin to ucloud/packer-plugin-ucloud.
    GH-12335
  • core: Remove external plugin for Digital Ocean as a vendored plugin.
    GH-12376
  • core: Remove external plugins for Profitbricks and 1&1 as vendored plugins.
    GH-12385
  • docs: Add HCP Ready label to Oracle builder components.
    GH-12217

IMPROVEMENTS

  • cmd/console: Add config-type flag to command help.
    GH-12360
  • core: Add enhanced support to Packer telemetry for HCL2.
    GH-12319
  • Enhance zsh completion for the Packer command.
    GH-12356,
    GH-12366

BUG FIXES

  • cmd/hcl2_upgrade: Fix a crash when running the hcl2_upgrade command against a
    legacy JSON template containing user variables with an undefined variables
    block. GH-12257
  • core: Bump github.com/hashicorp/hcp-sdk-go to 0.36.0.
    GH-12292
  • core: Bump github.com/hashicorp/packer-plugin-sdk to 0.4.0 to address
    CVE-2023-0475, CVE-2022-41723.
    GH-12306
  • core: Bump Go module version to 1.20
    GH-12380
  • core: Fix regression introduced in 1.8.6, where legacy JSON templates with
    custom builder names are outputted to STDOUT as uninterpolated user
    variables. GH-12290

Don't miss a new packer release

NewReleases is sending notifications on new releases.