Nordstrom / serverless-attach-managed-policy

Attaches the provided ManagedPolicyARN to all Roles in the service.
Apache License 2.0
11 stars 8 forks source link

Serverless: Configuration warning at 'provider': unrecognized property 'managedPolicyArns' #4

Open allenatdecisiv opened 3 years ago

allenatdecisiv commented 3 years ago

Hi,

I am getting a serverless warning when using serverless-attach-managed-policy plugin:

Serverless: Configuration warning at 'provider': unrecognized property 'managedPolicyArns'
Serverless:
Serverless: Learn more about configuration validation here: http://slss.io/configuration-validation
Serverless:

It appears that this is from not extending the schema(?): https://github.com/serverless/serverless/issues/8438#issuecomment-716180490 https://www.serverless.com/framework/docs/providers/aws/guide/plugins/#extending-validation-schema

$ node --version
v14.15.4

$ npm --version
6.14.10

$ serverless --version
Framework Core: 2.23.0
Plugin: 4.4.2
SDK: 2.3.2
Components: 3.6.2

$ uname -a
CYGWIN_NT-10.0 FOUREYES 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin
tgroutars commented 2 years ago

Seeing the same issue here trying to upgrade to serverless v3 from v1. Did you find a solution?