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.

  1. 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 ${...}.

  2. 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.

  3. 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

From · HCL

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
To · PLIST

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.

terminal
$ cv convert report.hcl report.plist
$ cv convert report.hcl report.plist

Questions.What people ask about HCL to PLIST.

01OF 04

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 ${...}.

More conversions.Other ways in and out of HCL and PLIST.