Zappa
Zappa copied to clipboard
PolicyLengthExceededException
PolicyLengthExceededException occurs when schedule tasks
Context
same issue as https://github.com/aws/chalice/issues/48
Expected Behavior
No duplicated statement in lambda policy.
Actual Behavior
Same statement appended to existing policy for each update.
Possible Fix
Check statement existance.
Steps to Reproduce
with any functioning zappa project
- add following entry in zappa config. async_response_table=xxxx, async_source='sns', async_resources=true.
- calling
zappa schedule
and observe policy keeps growning until hitPolicyLengthExceededException
Your Environment
- Zappa version used: 0.51.0
- Operating System and Python version: 3.7
- The output of
pip freeze
: - Link to your project (optional):
- Your
zappa_settings.json
: