Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add diff subcommand #56

Merged
merged 3 commits into from
Jul 1, 2020
Merged

Add diff subcommand #56

merged 3 commits into from
Jul 1, 2020

Conversation

fujiwara
Copy link
Owner

@fujiwara fujiwara commented Jul 1, 2020

Add diff subcommand. This command shows a diff of function.json compared with the latest deployed function configuration.

$ lambroll diff
2020/07/01 15:32:21 [info] lambroll v0.7.0
--- arn:aws:lambda:ap-northeast-1:123456789012:function:test
+++ function.json
 {
   "Description": "test",
   "FunctionName": "test",
   "Handler": "index",
-  "MemorySize": 512,
+  "MemorySize": 1024,
   "Role": "arn:aws:iam::123456789012:role/test_lambda_role",
   "Runtime": "go1.x",
   "Tags": {},
   "Timeout": 30,
   "TracingConfig": {
     "Mode": "PassThrough"
   }
 }

2020/07/01 15:32:21 [info] completed

@fujiwara fujiwara merged commit 575af71 into master Jul 1, 2020
@fujiwara fujiwara deleted the diff branch July 1, 2020 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant