You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Serverless Error ---------------------------------------
Configuration error at 'provider.iamRoleStatements[1].Resource': should be equal to constant
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 12.18.4
Framework Version: 2.5.0 (local)
Plugin Version: 4.0.4
SDK Version: 2.3.2
Components Version: 3.2.1
Before latest updates to schema validation doing the following worked without warning
This now causes schema validation issues as only constants or arrays of arn/cffunctions are allowed now.
serverless.yml
serverless package
outputInstalled version
I believe this can simply be fixed by adjusting
https://github.com/serverless/serverless/blob/master/lib/plugins/aws/provider/awsProvider.js#L306
to also allow for CloudFormation functions outside of an array
I'm willing to put this fix in 😃
The text was updated successfully, but these errors were encountered: