provider/aws: Update aws_lambda_permission documentation (#11902)

Fixes: #11870
This commit is contained in:
Paul Stack 2017-02-13 12:25:40 +00:00 committed by GitHub
parent 9b2439b027
commit 8985a8ce1b
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ Creates a Lambda permission to allow external sources invoking the Lambda functi
resource "aws_lambda_permission" "allow_cloudwatch" { resource "aws_lambda_permission" "allow_cloudwatch" {
statement_id = "AllowExecutionFromCloudWatch" statement_id = "AllowExecutionFromCloudWatch"
action = "lambda:InvokeFunction" action = "lambda:InvokeFunction"
function_name = "${aws_lambda_function.test_lambda.arn}" function_name = "${aws_lambda_function.test_lambda.name}"
principal = "events.amazonaws.com" principal = "events.amazonaws.com"
source_account = "111122223333" source_account = "111122223333"
source_arn = "arn:aws:events:eu-west-1:111122223333:rule/RunDaily" source_arn = "arn:aws:events:eu-west-1:111122223333:rule/RunDaily"