0.1.1 • Published 7 years ago
serverless-plugin-apig-role v0.1.1
serverless-plugin-apig-role
Serverless framework plugin to create execute-api role with a specific stable role identifier instead of a changable identifier created by serverless.
Installation
Install to the Serverless project via npm
$ npm install --save serverless-plugin-apig-role
Usage
Add the plugin to your serverless.yml
# serverless.yml
plugins:
- serverless-plugin-apig-role
custom:
executeApiRole: "test-ExecuteApiRole"
allowedAccounts: [ "arn:aws:iam::xxxxxxxxxxxx:root" ] # except the current account