Doesnt create subscription filter from cloud watch log group

aws
#1

Hi,
new to SL framework. I have few lambda functions, logs, events on aws…thought being able to configure and manage them from one serverless.yml file would be great! But unfortunately creating subscription filter and associating that with lambda not working for me while it is configured and works perfectly when deploy with aws cli. I tried to associate the filter following way as one of the examples outlined like this but doesn’t work , tried all kinds of deploy options like deleting and recreating the deployment, conf only, function only but no luck

functions:
myFunc:
timeout: 60
handler: myFunc.handler
vpc:
securityGroupIds:
- sg-1
subnetIds:
- subnet-1
- subnet-2
environment:
x: 20
evnets:
- cloudwatchLog: ‘/aws/lambda/myFunc’
logGroup: “lg-grp”
filter: “[v1,v2,v3,v4,v5=voted || v5=blue || v5=purple,…]”

0 Likes