Open wangsha opened 3 years ago
PolicyLengthExceededException occurs when schedule tasks
same issue as https://github.com/aws/chalice/issues/48
No duplicated statement in lambda policy.
Same statement appended to existing policy for each update.
Check statement existance.
with any functioning zappa project
zappa schedule
PolicyLengthExceededException
pip freeze
zappa_settings.json
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
zappa schedule
and observe policy keeps growning until hitPolicyLengthExceededException
Your Environment
pip freeze
:zappa_settings.json
: