Home

Awesome

Serverless Permission Policy Generator

An Online Application to generate AWS IAM permissions required for deploying a Serverless Framework stack.

<img src="https://github.com/Open-SL/serverless-permission-generator/blob/master/images/serverless-policy-generator.png" width="800" height="400">

Introduction

This application will provide you a user friendly UI to collect required resources details and a generator to build the relevant IAM policy for the collected information.

Visit the application from here

Available Features

  1. Basic permissions required for serverless application to be deployed
  2. S3 buckets created from serverless yaml
  3. SNS topics
  4. SQS
  5. Api Gateway if required
  6. Security group and VPC configuration related permission to connect to VPN
  7. Kinesis
  8. DynamoDB
  9. ALB listener and target group attachment permission required for lambdas exposed through ALBs.

How to use

  1. Enter project details and AWS account details
  2. Input required AWS resources details
  3. Click generate button
  4. Check the generated JSON
  5. Click copy button to copy values to clipboard
  6. Paste values in your IAM role permission policy

Development Guide

Prerequisites

clone the application and install dependencies using

nvm use
npm install

run

npm start

to deploy application in localhost.

Contributing

Project Maintainers

License

Serverless Permission Policy Generator is under the MIT license. See the License for more information.