Skip to content

Conform to SLS v3 iam format? #125

Description

@henhal

In earlier SLS versions, iamRoleStatements was the key used under provider to specify shared IAM role statements.
In this plugin, the same syntax is used to define statements per function.

In SLS v3, iamRoleStatements was replaced by

iam:
  role:
   statements:

Any thoughts on following this syntax also for the per-function directives, such as

functions:
  MyFunction:
    iam:
      role:
        statementsInherit: true
        statements:
          - Effect: Allow
          - Action: dynamodb:*
          - Resource: xxxx

to support the other IAM related functionality now supported on the provider level such as managedPolicies, permissionsBoundary etc?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions