108 Commits

Author SHA1 Message Date
Takahiro Horike
733e6414c1 Merge pull request #4302 from RafalWilinski/removing-private-true
Removing private: true from function does not change it's state
2017-09-30 15:43:48 +09:00
Rafal Wilinski
a0833cfbda Add implicit private = false test 2017-09-29 22:24:56 +02:00
Rafal Wilinski
52ce55e903 Set ApiKeyRequired if http.private is not specified 2017-09-21 23:04:15 +02:00
horike37
ad6d14bd4d minor tweaks 2017-09-19 22:01:17 +09:00
horike37
9139d63eb5 add alexaSmartHome event 2017-09-09 18:03:58 +09:00
Rafal Wilinski
55639e1526 Add CloudWatch event description docs & tests 2017-09-07 10:33:52 +02:00
Rafal Wilinski
75c5140f4b Add Description to CloudWatch events 2017-09-06 18:55:15 +02:00
Philipp Muens
1f2d81126e Merge pull request #4084 from tobyhede/4083-allow-fn-import-value-for-function-role
Using Fn:ImportValue for role should create empty DependsOn for strea…
2017-09-06 12:38:03 +02:00
Philipp Muens
4fc34a5517 Minor code changes 2017-09-01 09:35:49 +02:00
Toby Hede
115f519f37 Allow use of Ref and Fn::Import value in OnError 2017-08-18 11:49:19 +10:00
Toby Hede
a230763694 Using Fn:ImportValue for role should create empty DependsOn for stream event source mapping
Resolves #4083
2017-08-14 15:59:44 +10:00
Philipp Muens
ff9c2c3b8c Merge branch 'master' into request-params-for-lambda-proxy 2017-07-06 12:43:42 +02:00
Philipp Muens
f854e33885 Update formatting of warning message 2017-07-06 12:39:57 +02:00
Philipp Muens
fa540243c1 Merge pull request #3846 from activescott/master
Improve error message when indentation for http event is wrong
2017-06-26 10:24:13 +02:00
Philipp Muens
549afa499f Update error message 2017-06-26 10:06:07 +02:00
John Ferlito
f01ca2dbf7
Update docs to indicate you can use cognito pool authoriser and claims with lambda-proxy 2017-06-25 19:15:21 +10:00
Scott Willeke
4320127188 fixes linting errors as part of #3845 2017-06-23 16:54:15 -07:00
Scott Willeke
d2644f92a5 Improves error message to include function name when path isn't indented under the path in yml. 2017-06-23 16:20:50 -07:00
Philipp Muens
7650f93a43 Switch back to depend on Deployment resource in ApiKey resource 2017-06-21 12:14:13 +02:00
Eslam A. Hefnawy
58cf9ea526 adding stage in deployment resource 2017-06-21 17:36:44 +08:00
Philipp Muens
792157fd77 Refactor disassociateUsagePlan to be moved to API Gateway plugin 2017-06-20 13:52:36 +02:00
Eetu Tuomala
869aa04bf0 add quota and throttle to usage plan 2017-06-13 12:58:11 +03:00
Eetu Tuomala
0cdcd8649c fix usage plan and usage plan key naming, create api gateway stage with cloudformation, disassociateUsagePlan on remove 2017-06-13 12:58:11 +03:00
Eetu Tuomala
1bf1f5bd0e add ref to api stage api id 2017-06-13 12:58:11 +03:00
Eetu Tuomala
fb45f4ef98 add usage plan to api gateway 2017-06-13 12:58:11 +03:00
Joey van Dijk
b677dac3ef fix unnecessary escape characters 2017-06-08 10:46:33 +02:00
Joey van Dijk
7caa15dbf7 fix Travis test 2017-06-08 10:42:19 +02:00
Joey van Dijk
660e0b3a8f Support "Task timed out" warnings as HTTP 504-errors
Currently if Lambda functions have a timeout then you will not see any errors in Cloudwatch, while the user gets a 200 http response code with `{ errorMessage: 'Task timed out in 10.0 s'}`. 

This change will show 5XX errors in Cloudwatch.

To support this I need to copy all the default patterns in `serverless.yml` per function, so therefore I think this need to be a default setting, while this is not caused by the Serverless(/our) code but by AWS Lambda itself.
2017-06-08 10:36:36 +02:00
Eslam λ Hefnawy
050f968fc7 Merge pull request #3692 from serverless/fix-cors-origin-config
Fix CORS origin config
2017-06-06 18:49:19 +07:00
Eslam λ Hefnawy
12eb950a86 Merge pull request #3672 from serverless/add-kms-key-support
Add KMS key support
2017-06-06 18:36:19 +07:00
Philipp Muens
f1df11abd2 Merge pull request #3657 from hassankhan/add-cognito-user-pool-triggers
Add Cognito User Pool Triggers
2017-06-06 09:47:19 +02:00
Eslam λ Hefnawy
0997b328e4 Merge pull request #3705 from serverless/fix-s3-event-race-condition-bug
Fix s3 event race condition bug
2017-06-05 20:24:46 +07:00
Travis Dimmig
d636c083dc Cleanup to make the linter happy 2017-06-01 13:07:43 -04:00
Travis Dimmig
5aa2e4fb05 Cleanup and tests 2017-06-01 11:16:12 -04:00
Travis Dimmig
7b9e0d2620 Merge remote-tracking branch 'upstream/master' 2017-06-01 09:42:42 -04:00
Philipp Muens
78b4960d27 Fix tests 2017-06-01 14:54:19 +02:00
Philipp Muens
f1367f30ab Cosmetic updates for error messages 2017-06-01 14:45:07 +02:00
Philipp Muens
55d0a5e8b0 Remove merging of existing user pool resources
Since this is not possible because resources are merged after all the events are compiled.
2017-06-01 14:07:33 +02:00
Tom Saleeba
178fab9473 trivial fix: removed an extra double quote 2017-06-01 16:05:37 +09:30
Philipp Muens
f0253fe7f6 Add DependsOn to UserPool template 2017-05-31 15:19:21 +02:00
Philipp Muens
2bb715e723 Add support for service-wide KMS key config 2017-05-31 10:40:35 +02:00
Philipp Muens
78bb7d8100 Add KMS key support 2017-05-31 10:40:35 +02:00
Philipp Muens
97f60868bf Fix s3 event race condition bug 2017-05-30 10:10:40 +02:00
Philipp Muens
776832d10f Fix CORS origin config 2017-05-29 13:12:32 +02:00
Hassan Khan
ab92e3b8b1 Add fix for multiple pools with the same trigger
If multiple pools were specified that had the same trigger i.e.
`PreSignUp` then the last function would incorrectly be attached to
each pool. Also added a test case.
2017-05-25 22:21:20 +01:00
Philipp Muens
96be5948cb Tweak error message 2017-05-25 12:09:19 +02:00
Ryan Lewis
f1a2624256 fixing test 2017-05-24 14:45:55 -07:00
Ryan Lewis
72d9c520c7 adding test 2017-05-24 14:31:50 -07:00
Ryan Lewis
f87a1e93f6 throwing better error when bucket doesn't exist 2017-05-24 14:21:50 -07:00
Eslam λ Hefnawy
b7e8e87408 Merge pull request #3660 from HyperBrain/no-templates-for-http-endpoints
Do not use default templates for non AWS integrations. Only use NEVER for AWS passthrough.
2017-05-23 18:47:37 +07:00