We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cc1e8e commit b33a94eCopy full SHA for b33a94e
aws_lambda_permission_cloudwatch_event.tf
@@ -1,7 +1,7 @@
1
resource "aws_lambda_permission" "cloudwatch_event" {
2
statement_id = "AllowExecutionFromCloudWatchEvent"
3
action = "lambda:InvokeFunction"
4
- function_name = aws_lambda_function.ami_encryption_lambda.0.function_name
+ function_name = aws_lambda_function.ami_encryption_lambda.function_name
5
principal = "events.amazonaws.com"
6
source_arn = aws_cloudwatch_event_rule.build_alert.arn
7
}
0 commit comments