mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-20 11:48:24 -06:00
Based on support case with AWS, CloudWatch Events invoking Lambda should also specify the `source_arn` Example, the resulting policy needs to be like: ``` { "Condition": { "ArnLike": { "AWS:SourceArn": "arn:aws:events:us-east-1:0123456789:rule/my-cloudwatch-events-rule" } }, "Action": "lambda:InvokeFunction", "Resource": "arn:aws:lambda:us-east-1:0123456789:function:my-lambda-function", "Effect": "Allow", "Principal": { "Service": "events.amazonaws.com" }, "Sid": "AllowMyCloudWatchEventRuleToCallMyLambda" } ``` |
||
---|---|---|
.. | ||
assets | ||
docs | ||
intro | ||
layouts | ||
upgrade-guides | ||
.gitignore | ||
404.html.erb | ||
community.html.erb | ||
downloads.html.erb | ||
index.html.erb | ||
robots.txt | ||
sitemap.xml.builder |