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
70 lines
1023 B
Plaintext
70 lines
1023 B
Plaintext
Usage:
|
|
|
|
Example of 'foo_bar' module in `foo_bar.tf`.
|
|
|
|
- list item 1
|
|
- list item 2
|
|
|
|
Even inline **formatting** in _here_ is possible.
|
|
and some [link](https://domain.com/)
|
|
|
|
* list item 3
|
|
* list item 4
|
|
|
|
```hcl
|
|
module "foo_bar" {
|
|
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"
|
|
}
|
|
}
|
|
```
|
|
|
|
Here is some trailing text after code block,
|
|
followed by another line of text.
|
|
|
|
| Name | Description |
|
|
|------|-----------------|
|
|
| Foo | Foo description |
|
|
| Bar | Bar description |
|
|
|
|
## Providers
|
|
|
|
The following providers are used by this module:
|
|
|
|
- tls
|
|
|
|
- aws (>= 2.15.0)
|
|
|
|
- aws.ident (>= 2.15.0)
|
|
|
|
- null
|
|
|
|
## 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.
|
|
|
|
### output-0.12
|
|
|
|
Description: terraform 0.12 only
|