6271 Commits

Author SHA1 Message Date
Daniel Schep
02fa190d0b Add plugin hooks to define config variable getters 2019-08-20 11:23:42 -04:00
Nathan Chapman
d266b1b399 Return null from logStat promise to remove Bluebird warnings 2019-08-16 16:08:00 -05:00
Mariusz Nowak
b2091b030e
Merge pull request #6545 from mokamoto12/fix-retained-layer-logical-id
Fix retained layer logical id
2019-08-16 10:47:30 +02:00
Mariusz Nowak
78a703a2eb
Merge pull request #6542 from ktardif/apigw-customize-log-level
AWS API Gateway customize log level
2019-08-16 10:38:07 +02:00
mokamoto12
8b499c77b6 prettify the code 2019-08-15 00:03:21 +09:00
mokamoto12
5ba145973b Fix retained layer logical id 2019-08-14 23:27:08 +09:00
Kevin Tardif
cf390d5f88 Updated valid apigw log levels to use a set, using ServerlessError instead of Error 2019-08-14 10:21:28 -04:00
Kevin Tardif
bea1caec26 Updated formatting 2019-08-14 08:47:48 -04:00
Mariusz Nowak
312b4f5bf1
Merge pull request #6537 from mthenw/fix-depeloy-individually
Fix deploy command if package.individually set on a function-level
2019-08-14 11:02:33 +02:00
Maciej Winnicki
896631defd
Refactor test 2019-08-14 10:50:09 +02:00
Mariusz Nowak
6a84748fe3
Merge pull request #6531 from serverless/apigw-logs-setup-fix
Setup APIGW CloudWatch role via custom resource
2019-08-14 10:05:45 +02:00
Mariusz Nowak
f0a8b8cfa3
Mock npm install in tests 2019-08-14 09:37:40 +02:00
Mariusz Nowak
60f36e4bbe
Clear invalid options 2019-08-14 09:36:35 +02:00
Maciej Winnicki
f2f3c00ed0
Maintain original behavior and add a test 2019-08-14 08:55:29 +02:00
Kevin Tardif
3e7ea5a191 Added log.level setting to customize AWS API Gateway log level 2019-08-13 15:55:47 -04:00
Maciej Winnicki
f7813408e7
typo 2019-08-13 21:15:51 +02:00
Maciej Winnicki
fe6bab392a
Fix prettier issues 2019-08-13 21:14:29 +02:00
Maciej Winnicki
3ceb0aabaf
Fix deploy command if package.individually set on a function-level 2019-08-13 20:59:18 +02:00
Ethan Smith
56d96c4afe
Only add merged IAM policies for Lambda when they will be used (#6262) 2019-08-13 13:12:37 -04:00
Mariusz Nowak
e042f064dc
Configure tests for new naming functions 2019-08-13 18:16:19 +02:00
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