6251 Commits

Author SHA1 Message Date
Mariusz Nowak
cc6c1948fb
Correct typo 2019-08-13 18:16:00 +02:00
Mariusz Nowak
6f10b03c93
Minimize function name 2019-08-13 18:07:08 +02:00
Mariusz Nowak
c3dcb0646a
Ensure extensive timeout on custom resource lambdas 2019-08-13 17:50:29 +02:00
Mariusz Nowak
64ce692951
Setup APIGW CloudWatch role via custom resource 2019-08-13 17:30:28 +02:00
Mariusz Nowak
e4211800a1
Introduce DX friendly function name validation 2019-08-13 17:11:00 +02:00
Mariusz Nowak
16acdeaed6
Introduce wait util 2019-08-13 17:10:59 +02:00
Mariusz Nowak
2089e76836
Allow to use async/await in custom resource lambdas 2019-08-13 17:10:59 +02:00
Mariusz Nowak
8558e6a649
Move stage configuration to directory 2019-08-13 17:10:59 +02:00
Stephane Seng
5952712085 fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually.
The main motivation behind these changes is to rely on
https://github.com/jprichardson/node-fs-extra/blob/8.1.0/docs/copy-sync.md as
much as possible in order to avoid having to do the
`fullFilePath.replace(srcDir, '')` operation because this operation can be
error-prone.

Doing so fixes the following issues because the user-submitted file paths are
now correctly interpreted by fs-extra, closing both #6525 and #5172.
2019-08-12 23:09:23 +02:00
Philipp Muens
8a82c8a2cf
Merge pull request #6518 from serverless/event-bridge-partner-events
Fix support for EventBridge partner event sources
2019-08-09 18:38:26 +02:00
Philipp Muens
21f4f7fe2f Fix support for EventBridge partner event sources 2019-08-09 14:30:49 +02:00
Philipp Muens
487c21b5b0
Merge pull request #6520 from c0d3d/deploy-over-failed-deploys
Change strategy for deciding to deploy new function.
2019-08-09 13:37:20 +02:00
Philipp Muens
42ba297229
Merge pull request #6519 from serverless/retain-cognito-user-pool-config
Retain existing Cognito User Pool config
2019-08-09 08:29:15 +02:00
Neil Locketz
6b5d083384 Check that a function was modified after artifact when deciding to deploy 2019-08-08 22:54:40 -04:00
Daniel Schep
f9c25db76a
Improve interactive AWS creds flow (#6449)
Improve interactive AWS creds flow
2019-08-08 10:05:06 -04:00
Philipp Muens
f2a3fc9af1 Retain existing Cognito User Pool config 2019-08-08 14:34:57 +02:00
Alex Bolenok
1bf24e27fe Merge remote-tracking branch 'upstream/master' 2019-08-08 02:13:20 +03:00
Philipp Muens
2c1315666a
Merge pull request #6467 from stefanjudis/add-twilio-runtime
Add Twilio Runtime to create templates
2019-08-07 14:09:12 +02:00
stefan judis
ba37f23eb8 Rename template 'twilio-runtime' to 'twilio-nodejs' 2019-08-07 13:24:14 +02:00
Anton Vozghrin
21c59998ee Add PreTokenGeneration & UserMigration Cognito triggers 2019-08-07 10:36:58 +03:00
Mariusz Nowak
87faf71920
Clear confusing wording 2019-08-06 22:00:03 +02:00
Mariusz Nowak
6c54275b02
Merge branch 'master' into improve-error-handling 2019-08-06 14:17:14 +02:00
Philipp Muens
9ba9b1af66
Merge pull request #6491 from serverless/existing-cognit-user-pool-multi
Multiple event definitions for existing Cognito User Pools
2019-08-06 14:16:40 +02:00
Mariusz Nowak
ae77dbeaa0
Recognize YAMLException as user error 2019-08-06 14:14:07 +02:00
Mariusz Nowak
b3f06b8b1f
Do not duplicate error message output 2019-08-06 14:14:04 +02:00
Mariusz Nowak
7ce351e084
Log uncaught exceptions 2019-08-06 13:44:43 +02:00
Mariusz Nowak
406d4c713a
Expose stack trace for non user errors 2019-08-06 13:44:15 +02:00
Mariusz Nowak
80e6ad5fb7
Recognize isUserError variable 2019-08-06 13:44:15 +02:00
Mariusz Nowak
ee091fb91c
Show SLS_DEBUG info only when it's not used 2019-08-06 13:44:14 +02:00
Mariusz Nowak
18dfb69e31
Improve non-error exception handling 2019-08-06 13:44:10 +02:00
Philipp Muens
a97a928404 Check if more than 1 existing bucket is configured 2019-08-06 13:16:00 +02:00
Philipp Muens
3b871ca9cb Multiple event definitions for existing Cognito User Pools 2019-08-06 13:08:42 +02:00
Mariusz Nowak
5e57ad365e
Improve variable name 2019-08-06 13:02:01 +02:00
Mariusz Nowak
77432a0e07
Improve variable name 2019-08-06 13:02:01 +02:00
Mariusz Nowak
11cb305329
Improve variable name 2019-08-06 13:02:00 +02:00
Philipp Muens
5e0d9c28c9
Merge pull request #6471 from sameer-s/master
Allow AWS Subscription Filters to be reordered
2019-08-06 12:49:19 +02:00
Philipp Muens
91598990ee
Merge pull request #6501 from serverless/remove-enterprise-from-logline
Remove Enterprise and Platform from log info
2019-08-05 17:05:12 +02:00
Philipp Muens
8f86fb29bb Fix test 2019-08-05 16:37:17 +02:00
Philipp Muens
a1976eb5c9
Merge pull request #6477 from serverless/existing-s3-multi
Multiple event definitions for existing S3 bucket
2019-08-05 16:32:21 +02:00
astuyve
f3b73d1ad3
Newlines, instead of commas 2019-08-05 08:19:56 -05:00
astuyve
800f729bc1
Prettify 2019-08-05 08:14:02 -05:00
astuyve
ac6b740de9
Remove Enterprise and Platform from log info 2019-08-05 08:08:17 -05:00
Philipp Muens
03d85834b0 Multiple event definitions for existing S3 bucket 2019-08-05 12:54:30 +02:00
Philipp Muens
ffd505860a Separate regression test 2019-08-05 12:41:02 +02:00
Laurens Bremers
fbf3ab928c - added edge-cases to handler path
-  added normalized path expectations in tests
2019-08-02 20:46:36 +02:00
Sameer Suri
2ddb7ff90c Remove CloudWatch logs triggers if logical IDs do not match 2019-08-01 12:24:36 -07:00
lauw70
bcbefefbfc Fix without diff issues (hopefully) 2019-08-01 11:32:55 +02:00
Laurens Bremers
3ad4b171b0 Revert "Fix path matching issue"
This reverts commit 9b496683
2019-08-01 11:31:26 +02:00
lauw70
9b496683ac
Fix path matching issue
fix for https://github.com/serverless/serverless/issues/6482
2019-08-01 11:16:21 +02:00
Karol Topolski
459d7829b9 Render event information in aws-ruby handler template 2019-07-30 17:52:23 +02:00