serverless-iam-roles-per-function icon indicating copy to clipboard operation
serverless-iam-roles-per-function copied to clipboard

Just use iamRoleStatementsName

Open clarkd opened this issue 4 years ago • 1 comments

It it supported to just use the iamRoleStatementsName config and not customize the roles in any way?

clarkd avatar Mar 10 '20 16:03 clarkd

Yes, you can definitely do the following:

  MyAwesomeFunction:
    handler: awesome.handler
    iamRoleStatementsName: "my-awesome-role-name"
    iamRoleStatements: []

jacksgt avatar Mar 26 '20 16:03 jacksgt