Ryan Roemer 661caad22d
fix(AWS Deploy): Ensure to handle right overriden package.artifact (#8351)
It's to handle special case related to how plugins as jetpack override internal packaging.

In this case `package.artifact` is overridden with pre-prepared archive placed in `.serverless` folder. That was not handled cleanly by Framework internals, and this patch fixes that
2020-10-09 17:43:14 +02:00

18 lines
286 B
YAML

service: service
configValidationMode: error
frameworkVersion: '*'
provider:
name: aws
plugins:
# Mutates `package.artifact` to point to copied `.serverless/NAME.zip`
- ./package-artifact-plugin
functions:
foo:
handler: index.handler
other:
handler: index.handler