This repository was archived by the owner on Jan 2, 2025. It is now read-only.
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
serverless.yaml example returns an error when includeing s3:event. #721
Open
Description
The example serverless.yaml in the readme provides:
s3hook:
handler: handler.s3hook
events:
- s3: local-bucket
event: s3:*
Which gives the following error when used:
Warning: Invalid configuration encountered
at 'functions.index.events.0': unrecognized property 'event'
The only way I could get the event line to work was to use the following notation:
s3hook:
handler: handler.s3hook
events:
- s3:
bucket: local-bucket
event: s3:*
Metadata
Metadata
Assignees
Labels
No labels