You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the documentation, it is suggested that whatever function name you configured in serverless.yml should be used when invoking the function from another PHP application.
However, this is not the case. You must use the name as it appears in the list of Lambda functions in the AWS console. I suggest the documentation be updated to explain this.
Also, if your Lambda function was created from another account and you want another IAM user to call that function, you'll need to remember to define a resource-based policy on the Lambda function itself to allow the lambda:InvokeFunction to the ARN of that other IAM user.
The text was updated successfully, but these errors were encountered:
In the documentation, it is suggested that whatever function name you configured in serverless.yml should be used when invoking the function from another PHP application.
However, this is not the case. You must use the name as it appears in the list of Lambda functions in the AWS console. I suggest the documentation be updated to explain this.
Also, if your Lambda function was created from another account and you want another IAM user to call that function, you'll need to remember to define a resource-based policy on the Lambda function itself to allow the lambda:InvokeFunction to the ARN of that other IAM user.
The text was updated successfully, but these errors were encountered: