Deprecation warning: provider.iamRoleStatements" -> "provider.iam.role.statements
See original GitHub issueServerless starts showing deprecation warning messages:
Serverless: Deprecation warning: Starting with version 3.0.0, following property will be replaced:
"provider.iamRoleStatements" -> "provider.iam.role.statements"
More Info: https://www.serverless.com/framework/docs/deprecations/#PROVIDER_IAM_SETTINGS
Migrating to the new property is not possible, because custom.serverless-iam-roles-per-function.defaultInherit
only looks for provider.iamRoleStatements
.
See https://github.com/functionalone/serverless-iam-roles-per-function/blob/master/src/lib/index.ts#L347
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Serverless Framework Deprecations
The error mode turns all deprecations into strict errors, the warn mode displays ... iamRoleStatements -> provider.iam.role.statements; provider.
Read more >iamRoleStatements should be an array of objects - Seed.run
Problem. An IAM role statement block in your serverless.yml should have Effect , Action and Resource . Serverless Framework is not able to...
Read more >Serverless: Deprecation warning: Variables resolver reports ...
The error is: The CloudFormation template is invalid: Invalid template resource property 'ResponseType' , which tipped me off. This should work:
Read more >serverless/serverless - Gitter
iamRoleStatements " -> "provider.iam. why does it fail? How can I fix this?
Read more >Serverless Framework勉強する - Zenn
sls deploy Serverless: Deprecation warning: Variables resolver reports ... iamRoleStatements" -> "provider.iam.role.statements" More Info: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Enase @glicht any update on 3.2.0(https://github.com/functionalone/serverless-iam-roles-per-function/pull/78) release?
@gdraynz you can download
3.2.0-e97ab49
version from npm until the official3.2.0
will be releasedCan we simply skip it, and forget about warning? Do we need to migrate over their new feature? It’s not a problem for us that serverless will not know this props Maybe we can simply add new props and if there is nothing check old ones I guess, will take a look a this in few weeks