Files
terraform-docs/internal/pkg/print/markdown/document/testdata/document-WithRequired.golden
2019-06-28 19:19:08 +02:00

127 lines
1.4 KiB
Plaintext

Usage:
module "foo" {
source = "github.com/foo/bar"
id = "1234567890"
name = "baz"
zones = ["us-east-1", "us-west-1"]
tags = {
Name = "baz"
Created-By = "first.last@email.com"
Date-Created = "20180101"
}
}
## Required Inputs
The following input variables are required:
### unquoted
Description:
Type: `string`
### string-2
Description: It's string number two.
Type: `string`
### map-2
Description: It's map number two.
Type: `map`
### list-2
Description: It's list number two.
Type: `list`
### input\_with\_underscores
Description: A variable with underscores.
Type: `string`
## Optional Inputs
The following input variables are optional (have default values):
### string-3
Description:
Type: `string`
Default: `""`
### string-1
Description: It's string number one.
Type: `string`
Default: `"bar"`
### map-3
Description:
Type: `map`
Default: `<map>`
### map-1
Description: It's map number one.
Type: `map`
Default: `<map>`
### list-3
Description:
Type: `list`
Default: `<list>`
### list-1
Description: It's list number one.
Type: `list`
Default: `<list>`
### input-with-pipe
Description: It includes v1 \| v2 \| v3
Type: `string`
Default: `"v1"`
## Outputs
The following outputs are exported:
### unquoted
Description: It's unquoted output.
### output-2
Description: It's output number two.
### output-1
Description: It's output number one.