Skip to content

Commit cf28def

Browse files
author
jslopes
committed
varias correcoes
1 parent 9c9838a commit cf28def

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

main.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ resource "aws_db_proxy_default_target_group" "example" {
122122
for_each = var.connection_pool_config
123123
content {
124124
connection_borrow_timeout = lookup(var.connection_pool_config.value, "connection_borrow_timeout", null)
125-
init_query = lookup(var.init_query.value, "connection_borrow_timeout", null)
126-
max_connections_percent = lookup(var.max_connections_percent.value, "connection_borrow_timeout", null)
127-
max_idle_connections_percent = lookup(var.max_idle_connections_percent.value, "connection_borrow_timeout", null)
128-
session_pinning_filters = lookup(var.session_pinning_filters.value, "connection_borrow_timeout", null)
125+
init_query = lookup(var.connection_pool_config.value, "init_query", null)
126+
max_connections_percent = lookup(var.connection_pool_config.value, "max_connections_percent", null)
127+
max_idle_connections_percent = lookup(var.connection_pool_config.value, "max_idle_connections_percent", null)
128+
session_pinning_filters = lookup(var.connection_pool_config.value, "session_pinning_filters", null)
129129
}
130130
}
131131
}

0 commit comments

Comments
 (0)