211 Commits

Author SHA1 Message Date
CHRIS BARBOUR
cc4dfca85f added test to verify that managed policies are merged along with vpc config policies 2018-04-05 15:22:54 -04:00
CHRIS BARBOUR
f1d3aecb63 closes #4876 merging iamManagedPolicies when using VPCConfig 2018-04-04 22:17:39 -04:00
Takahiro Horike
6cbd0a95bd
Merge pull request #4665 from americansystems/sls-govcloud
Support AWS GovCloud and China region deployments
2018-04-03 19:09:26 +09:00
Kurt Miller
4a367939d9 Fix lint error for line too long. 2018-03-26 23:34:42 -04:00
Kurt Miller
ffa67cf2dd Expand http cors tests for maxAge. Last maxAge defined for a path
wins in a merge.
2018-03-26 22:19:51 -04:00
Kurt Miller
8140f44af0 Address review feedback, add tests. 2018-03-26 20:49:56 -04:00
Kurt Miller
1fb35e135b Merge remote-tracking branch 'AutoCustoms/master' 2018-03-26 19:31:19 -04:00
CHRIS BARBOUR
0c8a569968 fixing location of ManagedPolicyArns to be under Properties 2018-03-21 21:51:35 +00:00
chrisbarbour
2d9f4a27d3 updating to use lodash 2018-03-13 08:22:20 +00:00
Takahiro Horike
5c886b5b2c
Merge branch 'master' into sls-govcloud 2018-03-13 06:02:22 +09:00
bobjamin
d9f7454339 adding semicolons for linter 2018-03-02 10:49:46 +00:00
bobjamin
e492e744a9 added iam managed policies to aws provider closes #3751 2018-03-02 10:33:35 +00:00
Takahiro Horike
7499af45f0
Merge pull request #4768 from bsdkurt/master
Allow UsagePlan's to be created without ApiKeys defined. Issue #4459
2018-03-01 22:30:48 +09:00
Takahiro Horike
26184f30f8
Merge pull request #4773 from murtyjones/patch-1
Pass authorizer custom context to target lambda
2018-02-27 22:41:41 +09:00
Takahiro Horike
fbaa6cca51
Merge pull request #4763 from icj217/master
Added name property to cloudwatchEvent CF template
2018-02-27 21:44:28 +09:00
Frank Schmid
eb975ddcba
Merge pull request #4775 from serverless/fix-4705
Fixed a bug which you cannot deploy with lambda integration in v1.26.0
2018-02-27 10:35:11 +01:00
Craig Burdulis
52af64368e Fixed test script event name property 2018-02-26 20:31:15 -05:00
Craig Burdulis
53cc8fb607 Added test case and documentation for name property 2018-02-26 20:26:51 -05:00
horike37
93c37e4d39 set default statusCodes to response if it is empty 2018-02-27 01:44:21 +09:00
Marty Jones
818f58ac80
Pass authorizer custom context to target lambda
Per https://github.com/serverless/serverless/issues/4374
2018-02-25 21:38:14 -06:00
Kurt Miller
2b19a196d6 Lint corrections for usagePlan.test.js 2018-02-24 14:52:32 -05:00
Kurt Miller
39d07e9aef Expand UsagePlan testing to cover default and custom cases. 2018-02-24 14:33:55 -05:00
Kurt Miller
97d3a031c8 Allow UsagePlan's to be created without ApiKeys defined. Addresses
issue #4459.
2018-02-24 12:18:03 -05:00
icj217
a4de7288f3
Added name property to CloudFormation template
Now when a user specifies a name property under the cloudwatchEvent, it will be carried over to the CF template.
2018-02-22 13:21:50 -05:00
Mike Pugh
7b6a8ff262 Lodash and test updates 2018-02-07 19:50:24 -05:00
Mike Pugh
52cc8be45a Move geetS3EndpointForRegion to utils, change to regex.test instead of string.match for authorizer ARNs 2018-02-03 08:04:21 -05:00
Takahiro Horike
21c7f1fe9e
Merge pull request #3799 from hassankhan/fix-borked-cup-triggers
Fix broken merge in CUP compile event. Fixes #3773.
2018-02-03 11:10:58 +09:00
Kobi Meirson
0f117c49e8 Stop throwing errors if alexaSkill is not in the events list (#4708)
* The new alexaSkill skill id restriction (#4701) was throwing an error if an event which is not `alexaSkill` was presented.

* `.to.not.throw()` is a function, not a getter.
2018-02-02 17:48:45 +01:00
Kobi Meirson
d7eea2005e Restricting alexaSkill functions to specific Alexa skills (#4701)
* - Adding support for restricting the executing alexa skill by id (serverless/serverless#4700)
- Adding support for multiple `alexaSkill` events on a single function (allows multiple Alexa Skills on a single lambda)

* Adding a comment on the `serverless.cli` addition when testing.

* Updating templates to have the right `alexaSkill` syntax

* Cleaning up Travis-CI's occasional errors with sinon stubs going wild (hopefully)
(https://travis-ci.org/serverless/serverless/jobs/335361582 / https://travis-ci.org/serverless/serverless/jobs/335706593 / https://travis-ci.org/serverless/serverless/jobs/335682396)

* one last test case to make sure the alexaSkill file will be fully covered.

* PR notes

* naming - Add a default suffix for alexaSkillLogicalId if undefined

* Revert changes to createStack.test.js (#c967c8d956b3d96afbaefa7fbe3e6eb498ecdd7c)

* createStack.test - reject with an Error, not with a promise that resolves to an error.
2018-02-02 15:18:00 +01:00
Frank Schmid
022e99f77c
Added rejection instead of throw for consistency 2018-01-31 11:28:45 +01:00
Michał Zalewski
8833893481 Changed warning to error message if reservedConcurrency is non-integer 2018-01-31 08:50:54 +01:00
Michał Zalewski
0204420324 Added support for concurrency option in AWS Lambda
AWS Lambda has support for concurrency limit and it should be supported
in serverless.yml
2018-01-30 22:53:28 +01:00
Mike Pugh
3af17717d7 Fix managed lambda vpc access exec role, update readability of awsProvider partition detection 2018-01-26 10:47:29 -05:00
Mike Pugh
2e925af0b4 Fixing lint errors 2018-01-19 17:49:37 -05:00
Mike Pugh
8ee6e1955a Fix regressions 2018-01-19 17:33:13 -05:00
Mike Pugh
113ec4cceb Updae tests 2018-01-19 14:59:49 -05:00
Mike Pugh
88ed6c9d47 Utilize AWS::URLSuffix instead of hardcoded amazonaws.com 2018-01-19 14:07:58 -05:00
Mike Pugh
16debac62e Replace AWS Partition strings with CF Pseudo Param or from STS 2018-01-19 13:52:29 -05:00
Mike Pugh
3bc45becc9 Support GovCloud and China region deployments 2018-01-18 10:04:11 -05:00
Takahiro Horike
63f15f6741
Merge pull request #4650 from thomasmichaelwallace/master
allow authorizer.name to override implied authorizer.arn name.
2018-01-16 08:55:01 +09:00
Takahiro Horike
5d8acc3853
Merge pull request #4601 from willwhy/4569-cloudwatchlog-filter
improve aws cloudwatchlog filter #4569
2018-01-13 14:52:54 +09:00
thomasmichaelwallace
1ae47641b1 allow authorizer.name to override implied authorizer.arn name. 2018-01-12 13:57:21 +00:00
Kyle Minor
25e405c456 Update files to resolve CI requirements 2018-01-09 15:47:23 -05:00
Kyle Minor
933b49f923
Update validate.js 2018-01-09 15:19:52 -05:00
Kyle Minor
eba004c2e6 Merge branch 'master' into feature/BET-1118 2018-01-09 15:11:18 -05:00
Alex Casalboni
407b0f06e6 BbPromise.reject instead of throwing error 2018-01-08 15:03:41 +01:00
Alex Casalboni
c720018125 test typo 2018-01-07 17:38:43 +01:00
Alex Casalboni
1aee4b8240 updated tests (100% file coverage) 2018-01-07 17:30:18 +01:00
Alex Casalboni
a9b82e538c Added new no-aws-s3-accelerate argument to explicitly disable S3 Transfer Acceleration (updated doc too) 2018-01-07 17:29:54 +01:00
Alex Casalboni
4de092c092 not setting 'Suspended' acceleration by default (permission would be required!) 2018-01-07 16:37:23 +01:00