Skip to content

Commit b33a94e

Browse files
fixing index key issue with lambda
1 parent 7cc1e8e commit b33a94e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
resource "aws_lambda_permission" "cloudwatch_event" {
22
statement_id = "AllowExecutionFromCloudWatchEvent"
33
action = "lambda:InvokeFunction"
4-
function_name = aws_lambda_function.ami_encryption_lambda.0.function_name
4+
function_name = aws_lambda_function.ami_encryption_lambda.function_name
55
principal = "events.amazonaws.com"
66
source_arn = aws_cloudwatch_event_rule.build_alert.arn
77
}

0 commit comments

Comments
 (0)