aws-amplify / aws-amplify/amplify-cli
Getting error AmplifyResourcesPolicy AWS::IAM::Policy Wed Apr 01 2020 01:19:56 GMT+0200 (Central European Summer Time) Maximum policy size of 10240 bytes exceeded for role mutationLambdaRole-production
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
Hello,
When pushing a lambda functin , I get this error:
AmplifyResourcesPolicy AWS::IAM::Policy Wed Apr 01 2020 01:19:56 GMT+0200 (Central European Summer Time) AmplifyResourcesPolicy AWS::IAM::Policy Wed Apr 01 2020 01:19:56 GMT+0200 (Central European Summer Time) Maximum policy size of 10240 bytes exceeded for role mutationLambdaRole87176870-production
Amplify cli version used: 4.17.2
To reproduce, grant the lambda permissions to access some API tables (create update delete) using the cli.
This error is blocking for us: we are not able to push our resource to aws and our lambda need permissions to access those tables.
How to bypass or increase this limitation??? We grant the lambda access to only 8 table....
It's urgent for this project to get unblocked, have you any ideas what can we do?
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.