fix: terraform-docs hook

This commit is contained in:
David FILLON committed 2024-03-21 16:50:14 +01:00
1 parent da939467e3
commit 2e52bc44a4
2 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -6,7 +6,8 @@ repos:
- id: terraform_validate
- id: terraform_docs
args:
- '--args=--lockfile=false'
- --hook-config=--add-to-existing-file=true
- --hook-config=--create-file-if-not-exist=true
- id: terraform_tflint
args:
- '--args=--only=terraform_deprecated_interpolation'
+4 -4
View File
@@ -15,7 +15,7 @@ resource "aws_instance" {
}
```
<!-- BEGIN_TF_DOCS -->
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
## Requirements
| Name | Version |
@@ -27,7 +27,7 @@ resource "aws_instance" {
| Name | Version |
|------|---------|
| <a name="provider_aws"></a> [aws](#provider\_aws) | >= 5.0 |
| <a name="provider_aws"></a> [aws](#provider\_aws) | 5.32.1 |
## Modules
@@ -54,8 +54,8 @@ No modules.
| Name | Description |
|------|-------------|
| <a name="output_availability_zones"></a> [availability\_zones](#output\_availability\_zones) | List of availability zone names. |
| <a name="output_internet_gateway_id"></a> [internet\_gateway\_id](#output\_internet\_gateway\_id) | n/a |
| <a name="output_internet_gateway_id"></a> [internet\_gateway\_id](#output\_internet\_gateway\_id) | Internet gateway id. |
| <a name="output_sg_id"></a> [sg\_id](#output\_sg\_id) | Default Security Group id. |
| <a name="output_subnet_ids"></a> [subnet\_ids](#output\_subnet\_ids) | List of default Subnet ids. |
| <a name="output_vpc_id"></a> [vpc\_id](#output\_vpc\_id) | Default VPC id. |
<!-- END_TF_DOCS -->
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->