Documentation for variable type
s talks about "keyword any
", but any
is not a valid type.
#12805
Labels
type
s talks about "keyword any
", but any
is not a valid type.
#12805
Community Note
Overview of the Issue
I need to accept a variable that can contain any object, not an object with specific fields. By reading the following documentation in https://developer.hashicorp.com/packer/docs/templates/hcl_templates/variables#type-constraints …
I expected that I could use either
type = any
ortype = object(any)
. Neither is accepted by the parser.If
any
is not a valid keyword, then it should not be in the documentation as a valid keyword.Reproduction Steps
or
Packer version
1.9.4
Simplified Packer Template
template 1:
template 2:
Operating system and Environment details
Log Fragments and crash.log files
for template 1:
for template 2:
The text was updated successfully, but these errors were encountered: