Need help with your Cloud builds DROP US A LINE.
Creates Lambda IAM permissions.
Simple module to add permissions to a lambda function. Common use case is to add lambda:InvokeFunction permission for API Gateway or SNS topic.
Name | Version |
---|---|
terraform | >= 0.13.2 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
action | Action to be allowed | string |
"lambda:InvokeFunction" |
no |
function_name | Lambda function name | any |
n/a | yes |
principal | Principal to be granted access | string |
"apigateway.amazonaws.com" |
no |
source_arn | Source ARN to be granted access | string |
n/a | yes |
statement_id | Statement id / name | string |
n/a | yes |
Name | Description |
---|---|
aws_lambda_permission | Root object |