Skip to content

Commit 191e489

Browse files
authored
Updated pre-commit-terraform with terraform-docs 0.8.0 support (#388)
1 parent 4a173b4 commit 191e489

File tree

13 files changed

+409
-311
lines changed

13 files changed

+409
-311
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: git://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.20.0
3+
rev: v1.23.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_docs

README.md

Lines changed: 314 additions & 308 deletions
Large diffs are not rendered by default.

examples/complete-vpc/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ $ terraform apply
1717
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
1818

1919
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
20+
## Providers
21+
22+
| Name | Version |
23+
|------|---------|
24+
| aws | n/a |
25+
26+
## Inputs
27+
28+
No input.
29+
2030
## Outputs
2131

2232
| Name | Description |

examples/ipv6/README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,16 @@ $ terraform apply
1515
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
1616

1717
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
18+
## Providers
19+
20+
| Name | Version |
21+
|------|---------|
22+
| aws | n/a |
23+
24+
## Inputs
25+
26+
No input.
27+
1828
## Outputs
1929

2030
| Name | Description |

examples/issue-108-route-already-exists/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ $ terraform apply
1919
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
2020

2121
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
22+
## Providers
23+
24+
No provider.
25+
26+
## Inputs
27+
28+
No input.
29+
2230
## Outputs
2331

2432
| Name | Description |

examples/issue-44-asymmetric-private-subnets/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ $ terraform apply
1717
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
1818

1919
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
20+
## Providers
21+
22+
No provider.
23+
24+
## Inputs
25+
26+
No input.
27+
2028
## Outputs
2129

2230
| Name | Description |

examples/issue-46-no-private-subnets/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ $ terraform apply
1717
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
1818

1919
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
20+
## Providers
21+
22+
No provider.
23+
24+
## Inputs
25+
26+
No input.
27+
2028
## Outputs
2129

2230
| Name | Description |

examples/manage-default-vpc/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ $ terraform apply
1717
Run `terraform destroy` when you don't need these resources.
1818

1919
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
20+
## Providers
21+
22+
No provider.
23+
24+
## Inputs
25+
26+
No input.
27+
2028
## Outputs
2129

2230
| Name | Description |

examples/network-acls/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ $ terraform apply
1919
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
2020

2121
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
22+
## Providers
23+
24+
No provider.
25+
26+
## Inputs
27+
28+
No input.
29+
2230
## Outputs
2331

2432
| Name | Description |

examples/secondary-cidr-blocks/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ $ terraform apply
1717
Note that this example may create resources which can cost money (AWS Elastic IP, for example). Run `terraform destroy` when you don't need these resources.
1818

1919
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
20+
## Providers
21+
22+
No provider.
23+
24+
## Inputs
25+
26+
No input.
27+
2028
## Outputs
2129

2230
| Name | Description |

0 commit comments

Comments
 (0)