File tree Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Expand file tree Collapse file tree 4 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -97,13 +97,13 @@ The plugin relies on the [AWS Lambda traffic shifting feature](https://docs.aws.
9797
9898# # Limitations
9999
100- For now, the plugin only works with Lambda functions invoked by
100+ For now, the plugin only works with Lambda functions invoked by
101101
102102* API Gateway
103103* Stream based (such as the triggered by Kinesis or DynamoDB Streams)
104104* SNS based events
105105* S3 events
106- * CloudWatch events
106+ * CloudWatch Scheduled events
107107* CloudWatch Logs
108108
109109[More events](https://serverless.com/framework/docs/providers/aws/events/) will be added soon.
Original file line number Diff line number Diff line change 1414 },
1515 "scripts" : {
1616 "test" : " echo \" Error: no test specified\" && exit 1" ,
17- "package" : " npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.2 .tgz && sls package -s dev" ,
18- "deploy" : " npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.2 .tgz && sls deploy -s dev" ,
17+ "package" : " npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.6 .tgz && sls package -s dev" ,
18+ "deploy" : " npm un --no-save serverless-plugin-canary-deployments && npm pack ../ && npm i --no-save serverless-plugin-canary-deployments-0.4.6 .tgz && sls deploy -s dev" ,
1919 "populate-table" : " node ./scripts/populate-test-table"
2020 },
2121 "author" : " " ,
Original file line number Diff line number Diff line change @@ -33,6 +33,16 @@ functions:
3333 - StreamsTestTable
3434 - StreamArn
3535 - sns : snsTopic
36+ - sns :
37+ topicName : fooTopic
38+ displayName : fooTopic
39+ filterPolicy :
40+ eventType :
41+ - FooEvent
42+ - schedule :
43+ rate : rate(1 minute)
44+ enabled : false
45+ - cloudwatchLog : " /aws/lambda/sls-wshop-dev-hello"
3646 # - s3: s3samplebucket
3747 alarms :
3848 - name : foo
Original file line number Diff line number Diff line change 33 "engines" : {
44 "node" : " >=4.0"
55 },
6- "version" : " 0.4.6 " ,
6+ "version" : " 0.4.7 " ,
77 "description" : " A Serverless plugin to implement canary deployment of Lambda functions" ,
88 "main" : " serverless-plugin-canary-deployments.js" ,
99 "scripts" : {
You can’t perform that action at this time.
0 commit comments