threadheap / serverless-ide-vscode

Serverless IDE: Enhanced support for AWS SAM and CloudFormation in VS Code
https://serverless-ide.com/
195 stars 45 forks source link

Does not recognize "consumer" option in "stream" #85

Closed kpeters-cbsi closed 4 years ago

kpeters-cbsi commented 4 years ago

Note: what to raise a request for unknown/new or required field or resource, then raise a PR.

68 and #62

are good examples of updating a schema definition. It should not take longer that 15 minutes.

What to prioritizer bugfix or feature? Hit that ❤️support button on the top of the screen.

And don't forget to 🌟star the repo

Bug

Serverless IDE does not recognize the "consumer" member of the "stream" object.

In serverless.yml:

functions:
  myFunc:
    handler: src/myfunc.handler
    events:
      - stream:
        type: kinesis
        consumer: true # <--- this gets flagged
        arn: arn:aws:kinesis:XXXXX:XXXXXX:stream/myStream

The "consumer" member of the "stream" object should not be flagged as invalid

https://www.serverless.com/framework/docs/providers/aws/events/streams/#dynamodb--kinesis-streams

Supported option to SLS stream configuration

pavelvlasov commented 4 years ago

Fixed in the latest version of the plugin