mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
42 lines
1.1 KiB
Plaintext
42 lines
1.1 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"
|
|
}
|
|
}
|
|
|
|
## Inputs
|
|
|
|
| Name | Description | Type | Default |
|
|
|------|-------------|:----:|:-----:|
|
|
| unquoted | | string | n/a |
|
|
| string-3 | | string | `""` |
|
|
| string-2 | It's string number two. | string | n/a |
|
|
| string-1 | It's string number one. | string | `"bar"` |
|
|
| map-3 | | map | `<map>` |
|
|
| map-2 | It's map number two. | map | n/a |
|
|
| map-1 | It's map number one. | map | `<map>` |
|
|
| list-3 | | list | `<list>` |
|
|
| list-2 | It's list number two. | list | n/a |
|
|
| list-1 | It's list number one. | list | `<list>` |
|
|
| input\_with\_underscores | A variable with underscores. | string | n/a |
|
|
| input-with-pipe | It includes v1 \| v2 \| v3 | string | `"v1"` |
|
|
|
|
## Outputs
|
|
|
|
| Name | Description |
|
|
|------|-------------|
|
|
| unquoted | It's unquoted output. |
|
|
| output-2 | It's output number two. |
|
|
| output-1 | It's output number one. |
|