Files
terraform-docs/internal/pkg/print/testdata/json.golden
2018-09-21 08:49:52 +02:00

60 lines
1.4 KiB
Plaintext

{
"Comment": "Usage:\n\nmodule \"foo\" {\n source = \"github.com/foo/bar\"\n\n id = \"1234567890\"\n name = \"baz\"\n\n zones = [\"us-east-1\", \"us-west-1\"]\n\n tags = {\n Name = \"baz\"\n Created-By = \"first.last@email.com\"\n Date-Created = \"20180101\"\n }\n}\n\n",
"Inputs": [
{
"Name": "list-1",
"Description": "It's list number one.",
"Default": {
"Type": "list",
"Literal": ""
},
"Type": "list"
},
{
"Name": "list-2",
"Description": "It's list number two.",
"Default": null,
"Type": "list"
},
{
"Name": "map-1",
"Description": "It's map number one.",
"Default": {
"Type": "map",
"Literal": ""
},
"Type": "map"
},
{
"Name": "map-2",
"Description": "It's map number two.",
"Default": null,
"Type": "map"
},
{
"Name": "string-1",
"Description": "It's string number one.",
"Default": {
"Type": "string",
"Literal": "bar"
},
"Type": "string"
},
{
"Name": "string-2",
"Description": "It's string number two.",
"Default": null,
"Type": "string"
}
],
"Outputs": [
{
"Name": "output-1",
"Description": "It's output number one."
},
{
"Name": "output-2",
"Description": "It's output number two."
}
]
}