Skip to content

Commit

Permalink
Merge branch 'logic_update' into lambda_role
Browse files Browse the repository at this point in the history
  • Loading branch information
heathsnow committed Jul 7, 2020
2 parents 2fbe807 + 6b0ef83 commit 514ab7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ module "lambda" {
LOG_EVENTS = var.log_events ? "True" : "False"
}

create_role = var.lambda_role != "" ? false : true
create_role = var.lambda_role == ""
lambda_role = var.lambda_role
role_name = "${var.iam_role_name_prefix}-${var.lambda_function_name}"
role_permissions_boundary = var.iam_role_boundary_policy_arn
Expand Down

0 comments on commit 514ab7d

Please sign in to comment.