Read/Writer flags
Some parsers accept options that aren't available in others, for this we use read/writer flags.
Format
Flags by parser
XML
Read/Write
Name
Values
Description
read
xml-mode
structured
Changes the internal structure that XML documents are read into.
HCL
Read/Write
Name
Values
Description
read
hcl-block-format
array
HCL block contents usually expand to an array when duplicate labels are defined on another block. Setting this to array
will force blocks to always be an array of values, even when there are no duplicates.
Last updated