Hello Packer Community,

This release contains a number of improvements to Packer's HCL2 templating
support, along with a welcomed fix to the external plugin installation
commands. For a full list of changes please refer to the Packer CHANGELOG
<https://github.com/hashicorp/packer/blob/main/CHANGELOG.md#185-december-12-2022>
.


*Notable Enhancements:*


   - The hcl2_upgrade command will now generate variable blocks for all
   input variables referenced within the JSON template being upgraded. This is
   particularly important for input variables that are referenced within the
   JSON template but defined within an external variable definitions file
   (*.pkrvars). Refer to Packer#12136
   <https://github.com/hashicorp/packer/pull/12136> for more information
   - The validate command has been updated to support a
   `-evaluate-datasources` flag that can be used to execute data sources at
   validation time. Data source execution is skipped at validation, which has
   been an area of confusion for users. Refer to Packer#12106
   <https://github.com/hashicorp/packer/pull/12106> for more information.
   - The setting of undeclared variables in a variable definitions file
   (*.pkrvars) will no longer throw an undeclared variable warning during
   build execution. Users wishing to preserve the existing behavior can use
   the `-warn-on-undeclared-var` CLI flag. Refer to Packer#12104
   <https://github.com/hashicorp/packer/pull/12104> for more information.

*Notable Fixes:*


   - The plugin installation commands such as `packer init` and `packer
   plugins install` will now try to fallback to a prior available plugin
   version if the latest available version is missing a checksum file or has
   been created with no release assets. Please note that Packer will only
   fallback to versions matching the version constraints defined within the
   required_plugins Packer block.
   - For HCP Packer enabled builders, setting the argument
   keep_input_artifacts to false will no longer result in deleted images being
   tracked within the HCP Packer registry.

As always thank you for your continued support and contributions.

The Packer team

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/hashicorp/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAAqBfx30G7eNBJ1ThCJQ35Z0n%3DKMbBd5mdCP-z0u2v_57_0BPg%40mail.gmail.com.

Reply via email to