Packer v1.5.6 Release Notes

Release Date: 2020-05-01 // almost 4 years ago
  • BACKWARDS INCOMPATIBILITIES:

    • core/hcl2: HCL2 singular blocks: use key/value or name/value depending on how the service names things [GH-9078]
    • core/hcl2: Maps are now treated as settable arguments as opposed to blocks. For example tags = {} instead of tags {} [GH-9035]
    • ๐Ÿ— packer build command: removed option to set parallel=false, use -parallel-builds=1 for this.

    ๐Ÿ”‹ FEATURES:

    • ๐Ÿ†• New Builder azure-dtl allows creation of devtestlabs images in Azure [GH-8987]

    • ๐Ÿ†• New Core Feature provisioners now support a max_retries option that can be used for retrying a provisioner on error [GH-9061]

    • ๐Ÿ†• New Post-Processor: yandex-export Upload built image in Yandex Object Storage.

    ๐Ÿ‘Œ IMPROVEMENTS:

    • builder/azure-arm: Add boot_diag_storage_account option for enabling boot diagnostics on a virtual machine [GH-9053]
    • ๐Ÿ— builder/azure-arm: Add support for setting custom resource names [GH-9028]
    • ๐Ÿ— builder/azure-arm: Data disk names are now randomly generated [GH-8986]
    • ๐Ÿ— builder/azure: Add shared image destination for azure-chroot [GH-9021]
    • ๐Ÿ— builder/azure: Add shared image source for chroot builder [GH-9070]
    • ๐Ÿ— builder/google: Add support for custom shielded images [GH-8970]
    • builder/google: Allow source_image_project_id to be a list of several projects to search. [GH-8679]
    • ๐Ÿ— builder/hyperv: Add boot_order option to override the default boot order [GH-9046]
    • ๐Ÿ— builder/oracle-oci: Allow Instance Principal Auth for Oracle OCI builder [GH-8893]
    • โšก๏ธ builder/oracle-oci: Update Oracle SDK. [GH-9104]
    • ๐Ÿ— builder/proxmox: Add ability to add a cloud-init drive [GH-9045]
    • ๐Ÿ— builder/vsphere: Add disable_shutdown option to support manual vm shutdown over the default automatic shutdown step [GH-9095]
    • ๐Ÿ— builder/vsphere: Add vgpu_profile option for specifying vGPU profiles [GH-8946]
    • ๐Ÿ— builder/vsphere: Add support for EFI Secure Boot [GH-9018]
    • ๐Ÿ— builder/vsphere: Add support for specifying vGPU profiles [GH-8946]
    • builder/yandex: Add target_image_folder_id option for changing the folder where a built image will be saved to [GH-9080]
    • ๐Ÿ— core/hcl2: HCL mode builds now honor -only and -except options [GH-8947]
    • ๐Ÿ— core/hcl2: Set packer_build_name and packer_builder_type variables for builder provisioners and post-processors [GH-8956]
    • core/HCL: HCL mode now honors -only and -except options. [GH-8947]
    • core: New template function: aws_secretsmanager [GH-9099]
    • ๐Ÿšš provisioner/ansible: Add use_proxy option to not use localhost proxy adapter. Removes need for ansible connection_plugin when using WinRM. [GH-8625]
    • provisioner/powershell: Add debug_mode option to help with debugging generated scripts [GH-8996]
    • ๐Ÿšš provisioner/powershell: Add cleanup step to remove temporarily created scripts; cleanup can be skipped by setting the skip_clean option [GH-8908]

    ๐Ÿ› BUG FIXES:

    • builder/amazon: Fix bug with launch_block_device_mappings in spot instances. [GH-8945]
    • ๐Ÿ— builder/azure-arm: Fix issue where managed image builds were using a different location then what was specified in the build configuration [GH-9068]
    • ๐Ÿ— builder/azure: Allow Managed Data Disks to be used with Azure Shared Image Gallery [GH-8912]
    • ๐Ÿ— builder/azure: Fix SSH connection for temporary admin users specified in ssh_username [GH-9103]
    • ๐Ÿ— builder/osc: Make compliant with oAPI spec for Outscale osc-bsu builder [GH-9093]
    • ๐Ÿ— builder/qemu: Remove net_device pre-validation [GH-8979]
    • โšก๏ธ builder/tencentcloud: Update builder to handle the InstanceOperationInProgress error [GH-9069]
    • ๐Ÿ— builder/vsphere-iso: disk_size is no longer required if storage is defined [GH-8975]
    • ๐Ÿ— builder/vsphere: Add exported files to VSphere artifact [GH-9020]
    • ๐Ÿ— builder/vsphere: Fix issue where -force is not working with vsphere builders [GH-9039]
    • core: Fix crash in wrapperreadline helper when calling os.NewFile on unknown file descriptor [GH-9037]
    • core: Make sure CLI variables supersede variables from var files [GH-8964]
    • provisioner/powershell: Fix integer decoding issue in the execution policy parser [GH-8997]