Skip to content

Commit 236b1b1

Browse files
committed
Release v0.4.7
1 parent 9afaefa commit 236b1b1

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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.

example/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
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": "",

example/serverless.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff 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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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": {

0 commit comments

Comments
 (0)