Packer v1.5.2 Release Notes

Release Date: 2020-02-12 // over 2 years ago
  • ๐Ÿ†• New Builder The vsphere-iso builder, previously maintained by JetBrains, ๐Ÿ”€ has been merged with the Packer core. It will be officially supported by the Packer team at HashiCorp moving forward. [GH-8480]

    HCL2 variables & functions HCL2 configurations can now use variable, variables, locals, and functions [GH-8588].


    • ๐Ÿ— builder/alicloud: Add AlicloudProfile option. [GH-8560]
    • ๐Ÿ— builder/amazon: Add max_retries option to aws builders [GH-8709]
    • ๐Ÿ— builder/amazon: Add source AMI owner ID/name to template engines [GH-8550]
    • โšก๏ธ builder/amazon: Update instance waiters to use global waiter settings set by AWS_POLL_DELAY_SECONDS and AWS_TIMEOUT_SECONDS [GH-8699]
    • ๐Ÿ builder/azure: Allow users to use custom key vault for storing Windows certificates [GH-8704]
    • ๐Ÿ— builder/azure: Set expiry for image versions in SIG [GH-8561]
    • ๐Ÿ— builder/proxmox: Add option to upload the boot ISO rather than pointing out a previously manually uploaded one. [GH-8624]
    • ๐Ÿ— builder/vagrant: Fix a crash in the Vagrant driver [GH-8607]
    • ๐Ÿ— builder/yandex: Add service account ID to config [GH-8717]
    • communicator/winrm: Users can now override winrm_host with a static IP even when using cloud builders. [GH-8675]
    • core/hcl2: Fix bug preventing reading slices within other slices [GH-8669]
    • ๐Ÿ— core: Interpolation within post-processors can now access build-specific values like Host IP, communicator password, and more [GH-8632]
    • ๐Ÿ”Œ core: Add PACKER_PLUGIN_PATH to list of supported paths for plugin discovery [GH-8616]
    • ๐Ÿ”Œ core: clean up messy log line in plugin execution. [GH-8542]
    • core: Ensure PACKER_HTTP_ADDR is always set for any builder that provides a HTTP server for file transfer [GH-8654]
    • ๐Ÿ”Œ core: Fix loading external plugins defined in PACKER_CONFIG [GH-8582]
    • ๐ŸŒฒ core: Log name of postprocessor running to disambiguate long chains of post- processors. [GH-8613]
    • ๐Ÿ core: Packer can use isos in-place on Windows again, instead of copying them into its cache. [GH-7627]
    • core: step_download: return without error if Urls is empty [GH-8579]
    • post-processor/vsphere-template] Simplify method to use vm.MarkAsTemplate (optionally) [GH-8511]
    • scripts: Fix some issues with mapstructure-to-hcl2 code generator. [GH-8574]
    • โšก๏ธ scripts: Update Vagrant bootstrapping scripts [GH-8604]

    ๐Ÿ› Bug Fixes:

    • ๐Ÿ”’ builder/alicloud: Fix "security group doesn't exist" error when there are >10 security groups. [GH-8535]
    • ๐Ÿ— builder/amazon: Allow AWS builder pre-validation to pass when subnet filters are present [GH-8622]
    • ๐Ÿš€ builder/azure: Fix bug where deployments were not being cleaned up: [GH-8496]
    • ๐Ÿ— builder/azure: Fix issue where WinRMPassword was being left unset [GH-8670]
    • ๐Ÿ— builder/lxd: Fix file uploading issue when using the file provisioner [GH-8636]
    • ๐Ÿ— builder/null: Fix crash when configuring builder using HCL2. [GH-8612]
    • ๐Ÿ— builder/osc: Fix ssh host detection in Public Cloud and Nets [GH-8414]
    • ๐Ÿ— builder/vagrant: Fix bug with reading key from a path with spaces [GH-8605]
    • ๐Ÿ— builder/virtualbox-ovf: Remove config dependency from StepImport [GH-8509]
    • ๐Ÿ— builder/virtualbox-vm: use config as a non pointer to avoid a panic [GH-8576]
    • ๐Ÿ— core: Fix crash when build.sources is set to an invalid name [GH-8569]
    • core: Fix error loading .packerconfig [GH-8623]
    • core: Fix loading local ISO files when using iso_target_path [GH-8689]
    • ๐Ÿ”Œ core: Fix loading of external plugins. GH-8543]
    • ๐Ÿณ post-processor/docker-tag: Fix regression if no tags were specified. [GH-8593]
    • โšก๏ธ post-processor/vagrant-cloud: Update error handling for Vagrant Cloud API [GH-8594]
    • post-processor/vagrant: correctly handle the diskSize property as a qemu size string [GH-8567]
    • provisioner/ansible: Fix password sanitization to account for empty string values. [GH-8570]
    • provisioner/shell: Fix bug with shell provisioner failing to clean up the environment var file when env_var_file is true. [GH-8639]