Skip to content

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

License

Notifications You must be signed in to change notification settings

Open-SL/serverless-permission-generator

Repository files navigation

Serverless Permission Policy Generator

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

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

  • git
  • npm
  • nvm (optional)
  • node v16

clone the application and install dependencies using

nvm use
npm install

run

npm start

to deploy application in localhost.

Contributing

  • We would greatly appreciate any contribution you make.
  • If you have ideas for more functionality or recipes that should be on this project, llet us know.

Project Maintainers

License

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