Skip to content

Commit d967a44

Browse files
authored
chore: terraform-docs-system (#249)
* chore: use terraform-docs-system * chore: pin action * docs: terraform docs
1 parent 574c760 commit d967a44

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.github/workflows/validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ on:
1010

1111
jobs:
1212
validate-tf:
13-
uses: trussworks/shared-actions/.github/workflows/validate-tf.yml@main
13+
uses: trussworks/shared-actions/.github/workflows/validate-tf.yml@3cab03ab95045711da37ad6d63a93c666fc22398 # v0.0.2

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ repos:
2222
- repo: https://github.com/terraform-docs/terraform-docs
2323
rev: "v0.19.0"
2424
hooks:
25-
- id: terraform-docs-go
25+
- id: terraform-docs-system
2626

2727
- repo: https://github.com/antonbabenko/pre-commit-terraform
2828
rev: v1.96.3

examples/simple/README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,26 @@
22

33
<!-- BEGIN_TF_DOCS -->
44

5-
65
## Modules
76

8-
| Name | Source | Version |
9-
|------|--------|---------|
10-
| aws_cloudtrail | ../../ | n/a |
11-
| logs | trussworks/logs/aws | ~> 12 |
7+
| Name | Source | Version |
8+
| -------------- | ------------------- | ------- |
9+
| aws_cloudtrail | ../../ | n/a |
10+
| logs | trussworks/logs/aws | ~> 12 |
1211

1312
## Inputs
1413

15-
| Name | Description | Type | Default | Required |
16-
|------|-------------|------|---------|:--------:|
17-
| cloudwatch_log_group_name | n/a | `string` | n/a | yes |
18-
| logs_bucket | n/a | `string` | n/a | yes |
19-
| s3_key_prefix | n/a | `string` | n/a | yes |
20-
| trail_name | n/a | `string` | n/a | yes |
14+
| Name | Description | Type | Default | Required |
15+
| ------------------------- | ----------- | -------- | ------- | :------: |
16+
| cloudwatch_log_group_name | n/a | `string` | n/a | yes |
17+
| logs_bucket | n/a | `string` | n/a | yes |
18+
| s3_key_prefix | n/a | `string` | n/a | yes |
19+
| trail_name | n/a | `string` | n/a | yes |
2120

2221
## Outputs
2322

24-
| Name | Description |
25-
|------|-------------|
23+
| Name | Description |
24+
| -------------- | -------------- |
2625
| cloudtrail_arn | CloudTrail ARN |
26+
2727
<!-- END_TF_DOCS -->

0 commit comments

Comments
 (0)