hi guys, I’m trying to deploy, with version 1.0.2, a function subscribed to a Kinesis stream as stated in the docs. However, even though the function gets deployed correctly, the event is not created
My serverless.yml (or at least the part affected) looks like this
functions:
saveEvents:
handler: src/index.handler
events:
- stream:
arn:
Fn::GetAtt:
- EventsStream
- Arn
enabled: true
resources:
Resources:
EventsStream:
Type: AWS::Kinesis::Stream
Properties:
ShardCount: 1
am I missing something?