121 Commits

Author SHA1 Message Date
Alex DeBrie
615375c922 Add SQS event 2018-06-25 15:42:11 +00:00
Corey Walker
7cfc82995b
Replaced line that checked for existence of variable 2018-06-19 19:30:19 -04:00
Corey Walker
906ab5f862
Changed value checks to use _.isString() 2018-06-19 19:28:07 -04:00
Corey Walker
4566c3029a Added ability to create custom stack names and API names 2018-04-24 20:12:21 -04:00
Takahiro Horike
5c886b5b2c
Merge branch 'master' into sls-govcloud 2018-03-13 06:02:22 +09:00
Takahiro Horike
ab163b1fe6
Merge pull request #3999 from rmax-contrib/aws-notification-arns
Add notificationArns AWS parameter to enable Cloudformation notifications
2018-03-02 07:37:17 +09: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
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
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
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
Rolando (Max) Espinoza
1b6b7a5871 Add notificationArns tests. 2017-09-17 16:56:47 -03:00
Rolando (Max) Espinoza
9d3a5d0d41 Add notificationArns AWS provider property to enable Cloudformation notifications. 2017-09-17 01:18:33 -03:00
horike37
9139d63eb5 add alexaSmartHome event 2017-09-09 18:03:58 +09:00
Philipp Muens
dec2e14566 Fix tests 2017-08-24 10:13:53 +02:00
Mariusz Nowak
14d5102b7b Improve error messages
They literally addressed deployment case, while operation may be about stack deletion
2017-08-23 17:21:29 +02:00
Mariusz Nowak
732a410167 Add tests related to DELETE_FAILED outcome 2017-08-22 13:04:19 +02:00
Mariusz Nowak
8dfaa277c6 Fix failed deletion discovery 2017-08-21 16:36:06 +02:00
Ryan Lewis
ac59f993b4 lint error 2017-07-12 16:26:44 -07:00
Ryan Lewis
003752462b adding test 2017-07-12 14:28:06 -07:00
Philipp Muens
3ad2c5031d Add tests 2017-06-30 13:17:39 +02:00
Philipp Muens
e329bf9ad8 Only re-deploy when code or service updated 2017-06-30 09:26:55 +02:00
Eslam A. Hefnawy
e7873fe575 removed naming refs for stage resoruce 2017-06-21 17:43:33 +08:00
Eetu Tuomala
e94b29f981 add tests for usageplan naming, run describe stack resources and get usage plan parallel on remove 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
fb45f4ef98 add usage plan to api gateway 2017-06-13 12:58:11 +03:00
Philipp Muens
0921dc8144 Update naming for permission resource 2017-06-01 14:35:21 +02:00
Hassan Khan
4cf379d8b0 Add initial support for Cognito User Pools
This includes unit tests and documentation. A simple integration test
has been added.
2017-05-21 22:00:54 +01:00
Philipp Muens
9b0d5619f4 Revert name of compiled CloudFormation template 2017-04-26 13:57:05 +02:00
Philipp Muens
67a7031c83 Fix naming of compiled CloudFormation template 2017-04-26 13:23:18 +02:00
Eslam A. Hefnawy
4623e0bbed final packaging fixes 2017-04-25 23:03:46 +07:00
Philipp Muens
015938853b Update test description 2017-04-17 17:12:26 +02:00
Frank Schmid
2c1b18eb1f Separate S3 bucket name validation. Import in generateCoreTemplate.js. 2017-04-17 12:22:42 +02:00
Philipp Muens
c87b61e5c2 Merge pull request #3446 from aoskotsky-amplify/master
Fix for cfnRole attribute in createFallback method
2017-04-17 09:34:10 +02:00
Eslam A. Hefnawy
bc0eaf23e6 fixed unit tests 2017-04-07 18:30:11 +07:00
Eslam A. Hefnawy
cd71ccfa1e fixing tests for package plugin 2017-04-06 18:28:59 +07:00
Frank Schmid
359df73c81 Fixed ESLint 2017-04-06 18:28:59 +07:00
Frank Schmid
0b88ed08fd Use correct artifact path on update stack 2017-04-06 18:28:59 +07:00
Frank Schmid
0f67313e61 Save state 2017-04-06 18:28:59 +07:00
Eslam A. Hefnawy
e38f22585f seperated packaging and deployment 2017-04-06 18:28:59 +07:00
Alex Oskotsky
8c39d8c95f Use cfnRole attribute in createFallback method 2017-04-05 11:57:12 -04:00
horike37
47a3e2fbe3 update resource name 2017-03-27 23:05:55 +09:00
horike37
d549438fa1 add cloudwatch log event 2017-03-24 21:00:11 +09:00
Philipp Muens
bd2b8d3679 Update recently added tests 2017-03-23 12:40:49 +01:00
Philipp Muens
8d348da0ce Merge master into PR 2017-03-23 12:29:07 +01:00
Eslam λ Hefnawy
8530463d25 Merge pull request #3147 from y13i/feat-add-support-for-cfn-service-role
Add support for CloudFormation service roles
2017-03-13 19:30:37 +08:00
Eslam λ Hefnawy
af3d463e03 Merge pull request #3297 from serverless/fix-monitor-stack-freezing-bug
Fix monitorStack freezing bug
2017-02-28 23:49:09 +08:00