I'm having the following syntax error in my yaml "can not read a block mapping entry; a multiline key may not be an implicit key"
not sure i'm why my array values are causing issues.
service: my-app
package:
individually: true
provider:
name: aws
runtime: python3.8
region: us-east-1
stage: dev
functions:
app:
package:
include:
- "main.py"
exclude:
- "requirements.txt"
- "package.json"
- "package-lock.json"
- ".serverless/**"
- ".virtualenv/**"
- "node_modules/**"
handler: main.handler
environment:
STAGE: ${self:provider.stage}
layers:
- { Ref: PythonRequirementsLambdaLayer }
events:
- http:
method: any
path: /{proxy+}
plugins:
- serverless-python-requirements
custom:
pythonRequirements:
dockerizePip: true
layer:
name: app-layer
description: app-layer
compatibleRuntimes:
- python3.8