Skip to content

Commit

Permalink
Merge pull request #26 from khos2ow/update-v0.11
Browse files Browse the repository at this point in the history
Update terraform-docs to v0.11.0
  • Loading branch information
khos2ow committed Feb 10, 2021
2 parents 2ec96a0 + 4ef7765 commit 7f6d746
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/templates/README.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ branch.

## Version

`{{ $version }}` (uses [terraform-docs] v0.10.1, which is supported and tested on Terraform
`{{ $version }}` (uses [terraform-docs] v0.11.0, which is supported and tested on Terraform
version 0.11+ and 0.12+ but may work for others.)

{{- if eq $version "main" }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
args: --sort-by-required
indention: 3
git-push: true
git-push-sign-off: true
git-commit-message: "terraform-docs: automated action"

- name: Should generate README.md for tf12_config
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM quay.io/terraform-docs/terraform-docs:0.10.1
FROM quay.io/terraform-docs/terraform-docs:0.11.0

# this can be removed when base image
# was upgraded to alpine:3.13 which has
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branch.

## Version

`v0.4.0` (uses [terraform-docs] v0.10.1, which is supported and tested on Terraform
`v0.4.0` (uses [terraform-docs] v0.11.0, which is supported and tested on Terraform
version 0.11+ and 0.12+ but may work for others.)

## Usage
Expand Down
11 changes: 11 additions & 0 deletions examples/tf11_basic/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,17 @@ Should inject the table under usage
| aws | < 2.2.0 |
| consul | >= 1.0.0 |

### Modules

No Modules.

### Resources

| Name |
|------|
| [aws_acm_certificate](https://registry.terraform.io/providers/hashicorp/aws/2.2.0/docs/data-sources/acm_certificate) |
| [consul_key](https://registry.terraform.io/providers/hashicorp/consul/1.0.0/docs/data-sources/key) |

### Inputs

| Name | Description | Type | Default | Required |
Expand Down
11 changes: 11 additions & 0 deletions examples/tf11_extra_args/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,17 @@ The following providers are used by this module:

- consul (>= 1.0.0)

### Modules

No Modules.

### Resources

The following resources are used by this module:

- [aws_acm_certificate](https://registry.terraform.io/providers/hashicorp/aws/2.2.0/docs/data-sources/acm_certificate)
- [consul_key](https://registry.terraform.io/providers/hashicorp/consul/1.0.0/docs/data-sources/key)

### Inputs

The following input variables are supported:
Expand Down
11 changes: 11 additions & 0 deletions examples/tf12_basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@
| aws | ~> 2.20.0 |
| consul | >= 2.4.0 |

### Modules

No Modules.

### Resources

| Name |
|------|
| [aws_acm_certificate](https://registry.terraform.io/providers/hashicorp/aws/2.20.0/docs/data-sources/acm_certificate) |
| [consul_key](https://registry.terraform.io/providers/hashicorp/consul/2.4.0/docs/data-sources/key) |

### Inputs

| Name | Description | Type | Default | Required |
Expand Down
11 changes: 11 additions & 0 deletions examples/tf12_find/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,17 @@
| aws | ~> 2.20.0 |
| consul | >= 2.4.0 |

## Modules

No Modules.

## Resources

| Name |
|------|
| [aws_acm_certificate](https://registry.terraform.io/providers/hashicorp/aws/2.20.0/docs/data-sources/acm_certificate) |
| [consul_key](https://registry.terraform.io/providers/hashicorp/consul/2.4.0/docs/data-sources/key) |

## Inputs

| Name | Description | Type | Default | Required |
Expand Down
8 changes: 8 additions & 0 deletions examples/tf12_find/modules/tf12_find_submodules/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ No requirements.

No provider.

## Modules

No Modules.

## Resources

No resources.

## Inputs

| Name | Description | Type | Default | Required |
Expand Down
11 changes: 11 additions & 0 deletions examples/tf12_inject/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
| aws | ~> 2.20.0 |
| consul | >= 2.4.0 |

### Modules

No Modules.

### Resources

| Name |
|------|
| [aws_acm_certificate](https://registry.terraform.io/providers/hashicorp/aws/2.20.0/docs/data-sources/acm_certificate) |
| [consul_key](https://registry.terraform.io/providers/hashicorp/consul/2.4.0/docs/data-sources/key) |

### Inputs

| Name | Description | Type | Default | Required |
Expand Down

0 comments on commit 7f6d746

Please sign in to comment.