lumigo-io / lumigo-CLI

Open source CLI tool to help you develop and manage serverless applications.
https://lumigo.io
Apache License 2.0
331 stars 21 forks source link

tail-kinesis fails with multiple shards #112

Open drissamri opened 3 years ago

drissamri commented 3 years ago

The Lumigo CLI tail-kinesis was waiting for input when the Kinesis data streams was set to 1 shard - no problem. Then I increased the shards and tried to issue the command again (30 min later) but the CLI fails with MissingRequiredParameter: Missing required key 'ShardIterator' in params

aws-vault exec dev-sso -- lumigo-cli tail-kinesis -n cbe-logs-stream-dev -r eu-central-1
checking Kinesis stream [telenet-cbe-logs-stream-dev] in [eu-central-1]
polling Kinesis stream [telenet-cbe-logs-stream-dev] (4 shards)...
press <any key> to stop
    MissingRequiredParameter: Missing required key 'ShardIterator' in params
    Code: MissingRequiredParameter