Skip to content

Commit

Permalink
Fix empty tuple error (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaldotema authored and antonbabenko committed Jan 16, 2020
1 parent dc7b687 commit 5bd55e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ terraform.tfstate
terraform.tfvars
functions/*.zip
functions/pytest.ini
.idea
*.iml
2 changes: 1 addition & 1 deletion iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ locals {
"logs:CreateLogStream",
"logs:PutLogEvents",
]
resources = [aws_cloudwatch_log_group.lambda[0].arn]
resources = [element(concat(aws_cloudwatch_log_group.lambda[*].arn, list("")), 0)]
}]

lambda_policy_document_kms = var.kms_key_arn != "" ? [{
Expand Down

0 comments on commit 5bd55e6

Please sign in to comment.