Convert HCL to PLIST
Turn HCL files into PLIST. An XML property list with the same structure and key order, where text, integers, reals and booleans keep their types and dates stay text.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop HCL files on the dialor turn it to pick what to do
Terraform settings as an Apple property list.Your HCL file becomes one XML PLIST with the same structure and key order.
What you get
One XML property list that keeps the structure and the key order of the HCL file. Text, integers, reals and booleans keep their types.
Blocks nest by type and label. Expressions become text in the form
${...}.What changes
Dates stay text. They are not turned into property list dates.
Property lists have no null. A null in an object is dropped, and the conversion gives a warning. A null inside a list makes the conversion fail.
Going the other way
To turn a property list back into HCL, use PLIST to HCL. Other conversions for this format are listed under every HCL conversion.
HCL and PLIST.What each format is.
The formats
HCL
HashiCorp Configuration Language, what Terraform and Packer files are written in.
- Extensions
- .hcl .tf .tfvars
- MIME type
- application
/x -hcl - Kind
- Text and data
Property List
Apple property lists, XML or binary, that hold app settings and metadata.
- Extensions
- .plist
- MIME type
- application
/x -plist - Kind
- Text and data
In your code.The same HCL to PLIST conversion through the API, for your app or your agent.
$ cv convert report.hcl report.plist$ cv convert report.hcl report.plistQuestions.What people ask about HCL to PLIST.
Yes. The structure and the key order stay the same as in the HCL file.
A null in an object is dropped, with a warning. A null inside a list fails the conversion, because property lists have no null.
No. Dates stay text.
Expressions become text in the form ${...}.