Reducing admin role for serverless deployment


I’ve checked a lot of resources regarding Role an permissions user need to deploy Lambda with Serverless Framework including issues on Github(F.e. this) and topics on this forum.
What I’ve found now are just some assumptions and no full list of roles.
What I would like to achieve is a help from the Serverless framework development team, cause using Admin access for deployment could lead to Security issues. This is highly important.

Can anyone from deployment team provide a full list of permissions we need for successful Lambda creation and deployment?

I’ve tried to do this by myself and here are my results.







CloudWatch Logs




This is enough for first deploy and future deploys(Serverless Framework version 1.33.2).
Also I think it can be reduced too, cause Serverless Framework might not need some of these policies.

If you have some thoughts about this list feel free to comment.

I think that with IAM policies you’ve mentioned you can get other access easily. So does not seem to be very useful to cut the permissions down.

1 Like