mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-27 20:27:18 -04:00
When an override block is either not an object, or if one of its contents are not an object, Packer would crash trying to forcefully cast the cty.Value to a cty.Collection. To avoid this behaviour, we add extra checks that return hcl.Diagnostics when they fail. |
||
|---|---|---|
| .. | ||
| malformed_override.pkr.hcl | ||
| malformed_override_innards.pkr.hcl | ||
| well_formed_provisioner.pkr.hcl | ||