Skip to content

Mention the necessity of lambda:InvokeFunction permission in lazy listener document #267

Description

@seratch

As mentioned in this feedback, the lazy listener guide for AWS Lambda users should clearly mention the required IAM policy.

The reason why I went with my own IAM role is that lazy listener function feature invokes async AWS lambda functions from a lambda function. If you use this functionality, you need to add lambda:InvokeFunction permission to your app.

This should be noted in the docs as you cannot test with chalice local when using lazy listeners. Chalice logs a 500 error as boto throws a botocore.errorfactory.ResourceNotFoundException... or worse, it invokes whatever is at function:api_handler.

Originally posted by @jlujan-invitae in #162 (comment)

Activity

  1. changed the title [-]Mention the necessity of lambda:InvokeFunction permission in lazy listener documetn[/-] [+]Mention the necessity of lambda:InvokeFunction permission in lazy listener document[/+] on Mar 24, 2021
  2. added
    docsImprovements or additions to documentation
    on Mar 24, 2021
  3. added this to the 1.5.0 milestone on Mar 24, 2021
  4. added a commit that references this issue on Apr 9, 2021
    12ce26a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions