143 Commits

Author SHA1 Message Date
Daniel Schep
011b579bd3
Merge pull request #5531 from exoego/logs-compact-permission
AWS: Consolidates Lambda::Permission objects for cloudwatchLog events
2019-01-21 14:51:07 -05:00
Imran
91c71faea8 fix linting 2018-12-31 10:48:59 +11:00
Imran
ee3c81db88 revert auto formating 2018-12-31 10:37:28 +11:00
Imran
e54af4012f fix linting errors 2018-12-31 10:34:03 +11:00
Imran
e3f1b78c39 fix build 2018-12-31 10:17:14 +11:00
Imran
02fb66339e url encode querystring 2018-12-31 10:06:57 +11:00
Imran
6d941a39fe log cloudformation stack link 2018-12-31 09:54:00 +11:00
exoego
ef4b8c58ae Consolidate permission per function, not per service. 2018-12-05 19:42:25 +09:00
exoego
98572d7e53 Remove unused variable. 2018-12-05 19:42:25 +09:00
exoego
c216bc2656 Generate Lambda::Permission objects in which logGroup name is wildcard to reduce final policy size. 2018-12-05 19:42:25 +09:00
Daniel Schep
577f85d070 Info support for layers 2018-11-29 10:55:52 -05:00
Daniel Schep
0938594348 fix no-deploy check 2018-11-29 10:55:52 -05:00
Daniel Schep
2ad01b3fe3 [WIP] Support for publishing Lambda Layers 2018-11-29 10:55:52 -05:00
Rafal Wilinski
4cb7cccb38 Fix code formatting 2018-11-02 15:21:09 -04:00
Rafal Wilinski
e1c712ba15 Move uppercase bucket name error statement 2018-11-02 15:21:09 -04:00
Eetu Tuomala
8fdd3957a4
node v4 fixes 2018-09-30 11:49:42 +03:00
Eetu Tuomala
d7374ab26d
move cloudformation schema to lib/plugins/aws/lib, try to use schema only if parse without schema fails 2018-09-30 11:28:21 +03:00
Eslam A. Hefnawy
914ed94abe always update deployment status 2018-07-25 22:21:11 +03:00
Eslam A. Hefnawy
d3835fd686 updateDeployment instead of createDeployment 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
4bd4c3f5a9 tested deployment and subscription 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
c07fdf9733 handling failures 2018-07-23 16:05:45 +03:00
Eslam A. Hefnawy
cfbaa3a24f integrate with deployment backend 2018-07-23 16:05:45 +03:00
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