It has been very exciting to be writing packer templates in HCL2.
I understand that this is initial phase and maybe not all capabilities are there. But I am unclear on what is exactly available in Packer HCL2 compared to Terraform HCL2.
Could someone point to me info showing what we can expect exactly in packer with HCL2?
I see the guide here - https://packer.io/guides/hcl but I can’t find mention if the more dynamic capabilities of HCL2 is supported yet. I assume not?
Specifically I am looking at
- Ternary operation support ( condition ? true : false )
- dynamic blocks - so that I can conditionally add a provisioner (ie. run this provisioner on a flag)