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.
97
97
98
98
# # Limitations
99
99
100
- For now, the plugin only works with Lambda functions invoked by
100
+ For now, the plugin only works with Lambda functions invoked by
101
101
102
102
* API Gateway
103
103
* Stream based (such as the triggered by Kinesis or DynamoDB Streams)
104
104
* SNS based events
105
105
* S3 events
106
- * CloudWatch events
106
+ * CloudWatch Scheduled events
107
107
* CloudWatch Logs
108
108
109
109
[More events](https://serverless.com/framework/docs/providers/aws/events/) will be added soon.
Original file line number Diff line number Diff line change 14
14
},
15
15
"scripts" : {
16
16
"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" ,
19
19
"populate-table" : " node ./scripts/populate-test-table"
20
20
},
21
21
"author" : " " ,
Original file line number Diff line number Diff line change @@ -33,6 +33,16 @@ functions:
33
33
- StreamsTestTable
34
34
- StreamArn
35
35
- 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"
36
46
# - s3: s3samplebucket
37
47
alarms :
38
48
- name : foo
Original file line number Diff line number Diff line change 3
3
"engines" : {
4
4
"node" : " >=4.0"
5
5
},
6
- "version" : " 0.4.6 " ,
6
+ "version" : " 0.4.7 " ,
7
7
"description" : " A Serverless plugin to implement canary deployment of Lambda functions" ,
8
8
"main" : " serverless-plugin-canary-deployments.js" ,
9
9
"scripts" : {
You can’t perform that action at this time.
0 commit comments