Skip to content

Commit bb86b7d

Browse files
committed
chore: Fix lints
1 parent bd2e9c3 commit bb86b7d

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
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: https://github.com/antonbabenko/pre-commit-terraform
3-
rev: v1.97.4
3+
rev: v1.99.0
44
hooks:
55
- id: terraform_fmt
66
- id: terraform_wrapper_module_for_each

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ resource "aws_lb" "this" {
3333

3434
dynamic "ipam_pools" {
3535
for_each = length(var.ipam_pools) > 0 ? [var.ipam_pools] : []
36+
3637
content {
3738
ipv4_ipam_pool_id = ipam_pools.value.ipv4_ipam_pool_id
3839
}

wrappers/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module "wrapper" {
2727
idle_timeout = try(each.value.idle_timeout, var.defaults.idle_timeout, null)
2828
internal = try(each.value.internal, var.defaults.internal, null)
2929
ip_address_type = try(each.value.ip_address_type, var.defaults.ip_address_type, null)
30+
ipam_pools = try(each.value.ipam_pools, var.defaults.ipam_pools, {})
3031
listeners = try(each.value.listeners, var.defaults.listeners, {})
3132
load_balancer_type = try(each.value.load_balancer_type, var.defaults.load_balancer_type, "application")
3233
name = try(each.value.name, var.defaults.name, null)

0 commit comments

Comments
 (0)