From 190846920526a773cada3c3316025f3ba88ae801 Mon Sep 17 00:00:00 2001 From: Bryant Biggs Date: Mon, 20 May 2024 11:59:44 -0400 Subject: [PATCH] Update main.tf Co-authored-by: Anton Babenko --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 568a074..5430fb0 100644 --- a/main.tf +++ b/main.tf @@ -251,7 +251,7 @@ resource "aws_apigatewayv2_integration" "this" { timeout_milliseconds = each.value.timeout_milliseconds dynamic "tls_config" { - # For some reason the default is not using an empty obect and causing an interation to occur + # For some reason the default is not using an empty object and causing an integration to occur for_each = length({ for k, v in each.value.tls_config : k => v if v != null }) > 0 ? [each.value.tls_config] : [] content {