mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
* Introduce format interface and expose to public pkg * fix issues after merge * don't panic * Rename TFString back to String
128 lines
2.9 KiB
Plaintext
128 lines
2.9 KiB
Plaintext
{
|
|
"header": "",
|
|
"inputs": [
|
|
{
|
|
"name": "unquoted",
|
|
"type": "any",
|
|
"description": null,
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "string-3",
|
|
"type": "string",
|
|
"description": null,
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "string-2",
|
|
"type": "string",
|
|
"description": "It's string number two.",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "string-1",
|
|
"type": "string",
|
|
"description": "It's string number one.",
|
|
"default": "bar"
|
|
},
|
|
{
|
|
"name": "map-3",
|
|
"type": "map",
|
|
"description": null,
|
|
"default": {}
|
|
},
|
|
{
|
|
"name": "map-2",
|
|
"type": "map",
|
|
"description": "It's map number two.",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "map-1",
|
|
"type": "map",
|
|
"description": "It's map number one.",
|
|
"default": {
|
|
"a": 1,
|
|
"b": 2,
|
|
"c": 3
|
|
}
|
|
},
|
|
{
|
|
"name": "list-3",
|
|
"type": "list",
|
|
"description": null,
|
|
"default": []
|
|
},
|
|
{
|
|
"name": "list-2",
|
|
"type": "list",
|
|
"description": "It's list number two.",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "list-1",
|
|
"type": "list",
|
|
"description": "It's list number one.",
|
|
"default": [
|
|
"a",
|
|
"b",
|
|
"c"
|
|
]
|
|
},
|
|
{
|
|
"name": "input_with_underscores",
|
|
"type": "any",
|
|
"description": "A variable with underscores.",
|
|
"default": null
|
|
},
|
|
{
|
|
"name": "input-with-pipe",
|
|
"type": "string",
|
|
"description": "It includes v1 | v2 | v3",
|
|
"default": "v1"
|
|
},
|
|
{
|
|
"name": "input-with-code-block",
|
|
"type": "list",
|
|
"description": "This is a complicated one. We need a newline. \nAnd an example in a code block\n```\ndefault = [\n \"machine rack01:neptune\"\n]\n```\n",
|
|
"default": [
|
|
"name rack:location"
|
|
]
|
|
},
|
|
{
|
|
"name": "long_type",
|
|
"type": "object({\n name = string,\n foo = object({ foo = string, bar = string }),\n bar = object({ foo = string, bar = string }),\n fizz = list(string),\n buzz = list(string)\n })",
|
|
"description": "This description is itself markdown.\n\nIt spans over multiple lines.\n",
|
|
"default": {
|
|
"bar": {
|
|
"bar": "bar",
|
|
"foo": "bar"
|
|
},
|
|
"buzz": [
|
|
"fizz",
|
|
"buzz"
|
|
],
|
|
"fizz": [],
|
|
"foo": {
|
|
"bar": "foo",
|
|
"foo": "foo"
|
|
},
|
|
"name": "hello"
|
|
}
|
|
},
|
|
{
|
|
"name": "no-escape-default-value",
|
|
"type": "string",
|
|
"description": "The description contains `something_with_underscore`. Defaults to 'VALUE_WITH_UNDERSCORE'.",
|
|
"default": "VALUE_WITH_UNDERSCORE"
|
|
},
|
|
{
|
|
"name": "with-url",
|
|
"type": "string",
|
|
"description": "The description contains url. https://www.domain.com/foo/bar_baz.html",
|
|
"default": ""
|
|
}
|
|
],
|
|
"outputs": [],
|
|
"providers": []
|
|
} |