File tree Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Expand file tree Collapse file tree 3 files changed +31
-4
lines changed Original file line number Diff line number Diff line change 8
8
9
9
Plugin for Serverless Framework v1.x which compares your local AWS CloudFormation templates against deployed ones.
10
10
11
- ## Usage
11
+ # Usage
12
12
13
13
``` bash
14
14
serverless deploy diff --stage REPLACEME --region REPLACEME
15
15
```
16
16
17
17
<img width =" 1255 " alt =" screen shot 2016-11-05 at 14 53 04 " src =" https://cloud.githubusercontent.com/assets/195404/20030536/9e1a552c-a367-11e6-8e6d-2043f2a5d038.png " >
18
18
19
- ## Install
19
+ ## Command options
20
+
21
+ ``` bash
22
+ --diffTool ksdiff
23
+ ```
24
+
25
+ Custom diff tool:
26
+
27
+ > Defaults to ` diff `
28
+
29
+
30
+ ``` bash
31
+ --localTemplate foo.json
32
+ ```
33
+
34
+ Custom CloudFormation template to diff against:
35
+
36
+ > Defaults to ` ./serverless/cloudformation-template-update-stack.json `
37
+
38
+ # Install
20
39
21
40
Execute npm install in your Serverless project.
22
41
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class ServerlessPlugin {
12
12
13
13
this . commands = {
14
14
diff : {
15
- usage : 'Compares locale AWS CloudFormation templates against deployed ones' ,
15
+ usage : 'Compares local AWS CloudFormation templates against deployed ones' ,
16
16
lifecycleEvents : [ 'diff' ] ,
17
17
options : {
18
18
diffTool : {
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " serverless-plugin-diff" ,
3
- "version" : " 1.0.3 " ,
3
+ "version" : " 1.1.0 " ,
4
4
"description" : " Plugin for Serverless Framework v1.x which compares your local AWS CloudFormation templates against deployed ones." ,
5
5
"main" : " lib/index.js" ,
6
6
"scripts" : {
18
18
"repository" : {
19
19
"git" : " https://github.com/nicka/serverless-plugin-diff"
20
20
},
21
+ "homepage" : " https://github.com/nicka/serverless-plugin-diff" ,
22
+ "keywords" : [
23
+ " aws" ,
24
+ " diff" ,
25
+ " lambda" ,
26
+ " plugin" ,
27
+ " serverless"
28
+ ],
21
29
"dependencies" : {
22
30
"aws-sdk" : " ^2.6.15" ,
23
31
"child-process-promise" : " ^2.2.0" ,
You can’t perform that action at this time.
0 commit comments