serverless-plugins
serverless-plugins copied to clipboard
Respect the serverless.yml's enabled flag
If you set enabled: false in your serverless.yml, this ignores it and keeps the local one running.
So, respect the enabled flag in serverless.yml
functions:
kinesisHandler:
handler: .build/main.kinesisEventHandler
timeout: 120
events:
- stream:
type: kinesis
arn: ...
maximumRetryAttempts: 0 # Quick retry
parallelizationFactor: 10
maximumRecordAgeInSeconds: 360 # 5 minutes
enabled: false <----- now respected, was ignored before
startingPosition: TRIM_HORIZON
functionResponseType: ReportBatchItemFailures
so.... merge? not merge?
@silouone @AdrieanKhisbe it'd be awesome if this could be looked at 🙏 ❤️ - it's currently causing issues in our local environment as we hit the cap on the number of concurrent connections 😭