Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Babenko <[email protected]>
  • Loading branch information
magreenbaum and antonbabenko authored Dec 8, 2024
1 parent c6c1585 commit 5fc117d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,9 @@ resource "aws_lambda_function_url" "this" {
}

resource "aws_lambda_function_recursion_config" "this" {
count = local.create && var.recursive_loop == "Allow" ? 1 : 0
count = local.create && var.create_function && !var.create_layer && var.recursive_loop == "Allow" ? 1 : 0

function_name = var.function_name
function_name = aws_lambda_function.this[0].function_name
recursive_loop = var.recursive_loop

depends_on = [
Expand Down

0 comments on commit 5fc117d

Please sign in to comment.