-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overides iamManagedPolicies even with iamRoleStatementsInherit flag #86
Comments
@arvurb Looks like you try to use deprecated see: https://www.serverless.com/framework/docs/deprecations#grouping-iam-settings-under-provideriam |
@Enase Thanks! I changed policy settings as advised and still get the same behavior.
I can confirm that |
@arvurb It'a a bug, you can create a patch from this code block or wait for PR. |
Ran into this issue myself this morning. Using the managed policies in the provider.iam block does not inherit down to the function. |
Im trying to enable Lambda Insights. Insights needs
CloudWatchLambdaInsightsExecutionRolePolicy
, but it gets overridden even withiamRoleStatementsInherit
flag.defaultInherit
does not work as well.The text was updated successfully, but these errors were encountered: