3685 Commits

Author SHA1 Message Date
Mariusz Nowak
bb12637b59
Improve prompt names (to make testing easier) 2019-09-05 16:12:49 +02:00
Mariusz Nowak
9f784a61bb
Introduce 'name' option to improve test capabilities 2019-09-05 16:12:48 +02:00
Philipp Muens
b3506b4737 Only call logRemoveReminder on removals 2019-09-05 12:51:07 +02:00
Philipp Muens
8ea498f546 Restructure tests 2019-09-05 12:51:07 +02:00
Philipp Muens
baf7f4a8cd Validate memorySize and timeout properties 2019-09-05 12:51:07 +02:00
Philipp Muens
5d0dde6930 Only log removal info when cloudFront event is used 2019-09-05 12:51:07 +02:00
Philipp Muens
2247030fc3 Remove support for async stack deployments / removals 2019-09-05 12:51:07 +02:00
Philipp Muens
071da8952a Fix tests 2019-09-05 12:51:07 +02:00
Philipp Muens
7aa8ab096c Add support for async stack remove operations 2019-09-05 12:51:07 +02:00
Philipp Muens
ae0967943b Add DeletionPolicy of Retain to Lambda@Edge functions 2019-09-05 12:51:07 +02:00
Philipp Muens
e20a026dc5 Add support for async stack deploy operations 2019-09-05 12:51:07 +02:00
Philipp Muens
23c0350245 Automatically set necessary CloudFront function defaults 2019-09-05 12:51:07 +02:00
Philipp Muens
ada1055009 Address PR review comments 2019-09-05 12:51:06 +02:00
Philipp Muens
dce68432cb Run Prettier 2019-09-05 12:51:06 +02:00
Eetu Tuomala
d879730866 use lodash to check empty values, change version function order 2019-09-05 12:51:06 +02:00
Eetu Tuomala
4c99b2d237 add test for prepareFunctions and naming 2019-09-05 12:51:06 +02:00
Eetu Tuomala
aeb3bb5a93 fix node 4 and 6 related syntax errors 2019-09-05 12:51:06 +02:00
Eetu Tuomala
cc526ff850 add cloudfront to enpoints info, fix target origin id test, add cloudfront to getStackinfo test 2019-09-05 12:51:06 +02:00
Eetu Tuomala
d3f54ea62f refactor origin and behavior indexing 2019-09-05 12:51:06 +02:00
Eetu Tuomala
4ff6f25912 join origins with same path and behavior with same origin target 2019-09-05 12:51:06 +02:00
Eetu Tuomala
a9e7391f82 add policies to tests 2019-09-05 12:51:06 +02:00
Eetu Tuomala
92dcc76da5 add cloudwatch logs permissions for lambda@edge 2019-09-05 12:51:06 +02:00
Eetu Tuomala
0ab041a201 add comment to cloudfront distribution 2019-09-05 12:51:06 +02:00
Eetu Tuomala
0e78b31c06 add cloudfront id cf outputs, handle external role, and origin without path 2019-09-05 12:51:06 +02:00
Eetu Tuomala
94f3c50862 add lambda invoke permission 2019-09-05 12:51:05 +02:00
Eetu Tuomala
d85ed060c9 add cloudfront logical ids to naming 2019-09-05 12:51:05 +02:00
Eetu Tuomala
e3b3cccb7f force function versioning, add ability to version functions individually 2019-09-05 12:51:05 +02:00
Eetu Tuomala
06fb529167 add default cache behavior test 2019-09-05 12:51:05 +02:00
Eetu Tuomala
47ec0d561a add tests 2019-09-05 12:51:05 +02:00
Eetu Tuomala
15f9828389 remove region, fix originObj 2019-09-05 12:51:05 +02:00
Eetu Tuomala
7b7e175ae3 add s3 origin 2019-09-05 12:51:05 +02:00
Eetu Tuomala
524aac1768 add cloudfront trigger and custom origin type 2019-09-05 12:51:05 +02:00
Philipp Muens
5e1548c4b1 Remove unnecessary return 2019-09-03 16:27:30 +02:00
Alex DeBrie
d23ed2972a Less Lodash, more eslint. 2019-09-03 09:20:45 -05:00
Alex DeBrie
843e10584d Prettier 2019-09-03 08:49:51 -05:00
Alex DeBrie
7cc8ea62f9 Allow for tail on GetAtt parsing 2019-09-03 08:43:36 -05:00
Mariusz Nowak
efda4531d5
Merge pull request #6606 from mthenw/fix-overridee
Fix overriding package settings after packaging function
2019-09-03 10:47:22 +02:00
Mariusz Nowak
70446d94ed
Merge pull request #6618 from serverless/improve-aws-error-handling
Do not retry on AWS 403 errors
2019-09-03 10:24:36 +02:00
Mariusz Nowak
56b98e591b
Do not retry on 403 2019-09-02 18:00:57 +02:00
Philipp Muens
c1e0f3018a Fix tests after merging master into PR 2019-09-02 14:53:31 +02:00
Philipp Muens
1ad5e97bc2 Merge branch 'master' into gov-cloud 2019-09-02 14:48:58 +02:00
Mariusz Nowak
e1f8004803
Merge pull request #6616 from serverless/fix-inquirer-hack
Ensure inquirer's chalk override works through symlinks
2019-09-02 14:43:27 +02:00
Mariusz Nowak
d48d2ee56d
Merge pull request #6608 from serverless/ensure-logs-for-custom-resource-lambdas
Support optional CloudWatch logs writing for custom resource lambdas
2019-09-02 14:42:16 +02:00
Philipp Muens
10d375481c Add regression test / Add support for log arns 2019-09-02 14:18:02 +02:00
Mariusz Nowak
c12808b2d2
Fix inquirers chalk hack 2019-09-02 14:02:21 +02:00
Philipp Muens
c9b4f5d288 Add regression test / Prettify 2019-09-02 13:54:34 +02:00
maplion
1bc56036dd Fixing prettify issue 2019-09-01 18:53:48 -06:00
maplion
7c98ef9ec1 Fixes hardcoding of aws partition name in apigateway resourceArn to allow for a govcloud partition name of aws-us-gov in the case where one is trying to deploy to AWS GovCloud -- without this adjustment, serverless template fails when trying to deploy apigateway to AWS GovCloud 2019-09-01 15:53:15 -06:00
Gevorg A. Galstyan
9ba40e07a5 Fix API Gateway name not being resolved if the API Gateway resource is not in the main stack
Fix for https://github.com/serverless/serverless/issues/6607

+ a small fix in a function name
2019-08-30 14:50:05 +04:00
Maciej Winnicki
20f6b0f961
Prettier 2019-08-29 16:39:35 +02:00