Takahiro Horike
890c042fbd
Add logRetentionInDays property to provider level ( #4591 )
...
* add logRetentionInDays property
* update test and improve code
* minor tweak
* add logRetentionInDays property
update test and improve code
minor tweak
2017-12-25 13:47:00 +01:00
Erik Erikson
ca5ba8daac
Remove unused parameters in platform.js (and deal with consequences)
...
Add explicit use of options where they were defined.
2017-12-12 11:59:08 -08:00
Erik Erikson
bf8d57fa9f
Improve Stage and Region Usage
...
Remove the errant (but understandable) distributed usage of region and stage settings. This otherwise locks in a multitude of bugs around the improper algorithm for selecting (given all context) the proper region or stage setting. Instead, all code should use the centralized algorithm for determining such values. This creates a strange first and second class configuration concept but these two are sufficiently varied and complex in their creation and use that this seems appropriate.
2017-12-11 16:39:44 -08:00
Frank Schmid
81c896bc12
Removed reintroduction of stage+region in request. Added options.
...
Delete bucket was still using them
Hopefully all :)
Further test fixes.
.... worked too long yesterday
Fixed Variable tests
Remove not used parameters from request() and add options with warning
2017-12-11 12:33:35 +01:00
Alex DeBrie
a9e8080aec
Fix CloudFormation for endpoint configuration
2017-12-09 12:43:19 +00:00
Alex DeBrie
9889081914
Add endpointType configuration
2017-12-06 18:28:12 +00:00
Frank Schmid
b1d4925508
Use chunked read
2017-12-01 13:16:58 +01:00
Frank Schmid
57f0561547
Added unit test for configuration change
2017-12-01 12:58:46 +01:00
Frank Schmid
54e10cebbb
Use asynchronous file read and create version hash including config
2017-12-01 11:49:00 +01:00
Rafal Wilinski
ac0319b945
Fix failing test
2017-11-15 23:44:52 +01:00
Rafal Wilinski
f138e4ed5e
Reintroduce ignore check for existing deploymentBuckets
2017-11-15 21:43:10 +01:00
Alex Casalboni
4a3d4675d3
Showing warning if --aws-s3-accelerate is used with custom deployment bucket
2017-10-28 02:06:19 +02:00
Alex Casalboni
5c5f893e69
Added tests (increased coverage)
2017-10-28 01:51:42 +02:00
Alex Casalboni
64ccb046a7
Merge branch 'master' into issue4252-s3-transfer-acceleration
2017-10-28 00:59:18 +02:00
Alex Casalboni
257f5dc40d
Added custom ServerlessDeploymentBucketAccelerated output
2017-10-28 00:55:36 +02:00
Alex Casalboni
bf6572847e
Always adding AccelerateConfiguration to deployment bucket (if not provided manually)
2017-10-27 17:03:41 +02:00
Jonathan Spies
1f086cfa14
update validator to accept type
2017-10-10 13:08:40 -05:00
Jonathan Spies
2341e5beae
separate expectation for REQUEST into its own test
2017-10-10 12:36:16 -05:00
Jonathan Spies
e75c783365
add type option to authorizer. implements #4325
2017-10-10 12:31:22 -05:00
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