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
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?
In earlier SLS versions,
iamRoleStatementswas the key used underproviderto specify shared IAM role statements.In this plugin, the same syntax is used to define statements per function.
In SLS v3,
iamRoleStatementswas replaced byAny thoughts on following this syntax also for the per-function directives, such as
to support the other IAM related functionality now supported on the provider level such as
managedPolicies,permissionsBoundaryetc?