Skip to content

Convert from JSON to HCL2 #2

@samuelvl

Description

@samuelvl

Having a result.json file with the following content:

{
    "var1": "foo",
    "var2": "bar",
    "var3": {
        "key": "value"
    }
}

Is it possible to retrieve HCL2 content back?

var1 = "foo"
var2 = "bar"
var3 = {
  key = "value"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions