iamRoleStatements should be an array of objects, where each object has Effect, Action, Resource fields. Specifically, statement 0 is missing the following properties: Resource
An IAM role statement block in your
serverless.yml should have
Resource. Serverless Framework is not able to parse one or more of these fields.
Ensure that the
Resource fields are specified. If they are there, check the formatting and indention of each line. It should look something like this:
... provider: iamRoleStatements: - Effect: 'Allow' Action: - 's3:ListBucket' Resource: '*' ...