Skip to content

Add The possibility to export TF Documentation #177

Answered by xescugc
matthieupetite asked this question in Ideas
Discussion options

You must be logged in to vote

I'll transfer this to an issue.

I'll add a new option to choose the destination of a generated JSON file which will have the information found on the State/HCL.

Internally on the generate.FromState we already return a config, I'll validate the format to see if it's adequate and expose it to be written into a file. HCL does not have it yet but it should be easy to also make it return as it's kept internally but never returned.

The current format is something like

{
  "resources": {
    "azurerm_virtual_wan": {
      "vwan": {
        "name": "value-name"
      }
    }
  }
}

but I think that for the actual file, as it has to be a representation of the Nodes, we'll go for something along the…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by xescugc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants