File tree 2 files changed +5
-4
lines changed
2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
- repo : git://github.com/antonbabenko/pre-commit-terraform
3
3
rev : v1.45.0
4
4
hooks :
5
+ - id : terraform_fmt
5
6
- id : terraform_validate
6
7
- id : terraform_docs
7
8
args : ["--args=--sort-by-required"]
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ resource "aws_route_table" "this" {
16
16
17
17
resource "aws_route" "ipv4" {
18
18
for_each = {
19
- for route in var . ipv4_routes :
20
- route.cidr_block = > route
19
+ for route in var . ipv4_routes :
20
+ route.cidr_block = > route
21
21
}
22
22
23
23
route_table_id = aws_route_table. this . id
@@ -36,8 +36,8 @@ resource "aws_route" "ipv4" {
36
36
37
37
resource "aws_route" "ipv6" {
38
38
for_each = {
39
- for route in var . ipv6_routes :
40
- route.cidr = > route
39
+ for route in var . ipv6_routes :
40
+ route.cidr = > route
41
41
}
42
42
43
43
route_table_id = aws_route_table. this . id
You can’t perform that action at this time.
0 commit comments