1726 Commits

Author SHA1 Message Date
pchynoweth
4c935d11e0 Fixed up linting issues 2019-02-04 10:09:55 +00:00
pchynoweth
9a25ade818 Added unit tests 2019-02-04 10:00:14 +00:00
pchynoweth
73d95c283e Fixed linting issue 2019-02-03 21:46:25 +00:00
pchynoweth
81a21744e6 Now checking if origins is empty 2019-02-03 21:09:20 +00:00
pchynoweth
968159b043 Now copying cacheControl into validated corsPreflight 2019-02-03 17:12:44 +00:00
Daniel Schep
43d8b624ef
Merge pull request #5740 from richarddd/multi-origin-cors
Provide multi origin cors values
2019-01-29 08:29:32 -05:00
Daniel Schep
f54081216c don't check call tty on macs 2019-01-28 11:41:58 -05:00
Daniel Schep
03d8cebee8
Merge pull request #5744 from serverless/fix-sls-4311
Resolve profile before performing aws-sdk dependent actions
2019-01-28 10:10:07 -05:00
Richard Davison
867d112470 Allow origin to be used by splitting comma separated values 2019-01-28 14:31:53 +01:00
Philipp Muens
6e289d0f83
Merge pull request #5739 from piohhmy/fix-broken-profiles
Fix assuming a role with an AWS profile
2019-01-28 14:14:33 +01:00
Philipp Muens
f48130b527 Fix test 2019-01-28 14:05:11 +01:00
Philipp Muens
19996c2d1a Merge branch 'master' into fix-broken-profiles 2019-01-28 13:55:22 +01:00
Philipp Muens
4ae0ff18bb
Merge pull request #5139 from BlackbirdHQ/master
Allows Fn::GetAtt with Lambda DLQ-onError
2019-01-28 13:46:31 +01:00
Eslam λ Hefnawy
4fb3d559ab
Merge pull request #5710 from luanmuniz/master
Fix #5664 - Rollback fails due to a timestamp parsing error
2019-01-28 14:30:56 +03:00
Richard Davison
a820191a49 Fixed test 2019-01-28 12:17:46 +01:00
Eslam λ Hefnawy
d00e677df6
Merge pull request #5714 from exoego/fix-5699
AWS: Tell S3 bucket name and how to recover if deployment bucket does not exist
2019-01-28 14:12:35 +03:00
Richard Davison
e2563d768f Fixed typo 2019-01-28 11:49:44 +01:00
Richard Davison
3dff171b46 Remove single quoute 2019-01-28 11:17:35 +01:00
Danny Varner
d3fef359f4 Fix linting errors 2019-01-25 21:08:58 -08:00
Danny Varner
4ad73bb7ca Add test for profile fix 2019-01-25 20:55:33 -08:00
Daniel Schep
e1f9b83dc9 resolve vars in file profile config before ssm vars 2019-01-25 08:24:15 -05:00
Philipp Muens
ecaa6d80f5 Merge branch 'master' into default-error-message 2019-01-24 13:17:59 +01:00
Philipp Muens
dfb36b8503
Merge pull request #5161 from kalarrs/master
Updated aws provider to invoke .promise on methods that support it. Otherwise falls back to .send with a callback
2019-01-24 13:09:03 +01:00
Philipp Muens
b22a2c9c48 Merge branch 'master' into aws-promisified-provider 2019-01-24 13:01:30 +01:00
Philipp Muens
36f98294bb
Merge pull request #4822 from serverless/ResourceCount
Add resource count and warning to info display
2019-01-24 12:23:47 +01:00
Philipp Muens
240968addc
Merge pull request #5720 from sdomagala/master
Lambda Layers - cast account id to string if number provided
2019-01-24 11:58:46 +01:00
drexler
911bedd0c0 add unit test 2019-01-23 20:32:11 -05:00
drexler
67ee7c66a6 default to error code if message is non-existent 2019-01-23 19:02:38 -05:00
Alex DeBrie
4caa108f43 Restore the missing restore 2019-01-23 17:11:29 +00:00
Philipp Muens
c9a321df52
Merge branch 'master' into master 2019-01-23 15:38:14 +01:00
Philipp Muens
c6701ff006
Merge pull request #5705 from snurmine/issues/5698
Convert reservedConcurrency to integer to allow use env var
2019-01-23 15:34:36 +01:00
Richard Davison
d9575d424c Added test when no origin or origins is provided 2019-01-23 09:08:35 +01:00
Richard Davison
01b529af43 Provide multi origin cors 2019-01-23 08:48:52 +01:00
Danny Varner
a88bc27801 Fix broken profiles 2019-01-22 22:53:20 -08:00
Philipp Muens
89d037c468
Merge pull request #5662 from jetbridge/master
Provide AWS_PROFILE from configuration for invoke local
2019-01-22 13:12:29 +01:00
Philipp Muens
da83822905 Fix and update tests 2019-01-22 13:01:24 +01:00
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
Luan
91806cef44 Fix eslint issues
Signed-off-by: Luan <luan@luanmuniz.com.br>
2019-01-19 16:34:14 -02:00
Luan
96183686bf Create tests for #5664
Signed-off-by: Luan <luan@luanmuniz.com.br>
2019-01-19 16:27:43 -02:00
Sebastian Domagała
b25582989e fix linting issues 2019-01-18 11:13:23 +01:00
Sebastian Domagała
9f89789742 add tests cases 2019-01-18 10:49:46 +01:00
Sebastian Domagała
61b0370957 cast account to to string if necessary 2019-01-18 10:32:10 +01:00
exoego
e334bcd40a Update message to include a case of complete deletion. 2019-01-18 06:26:30 +09:00
exoego
d4cb2b6684 Add tests. 2019-01-18 06:19:43 +09:00
Daniel Schep
d817ce08d4
Merge pull request #5687 from serverless/remove-platform-code
Remove platform code
2019-01-17 11:01:45 -05:00
exoego
d85a67cf37 Add detail and recovery operation. 2019-01-17 21:54:39 +09:00
Mischa Spiegelmock
b563fb218e attempting to create a test for invoke local with profile 2019-01-16 15:58:30 +02:00
Luan
79fe3adb85
Fix #5664 - Rollback fails due to a timestamp parsing error
When running sls rollback -t 1546961025152 the timestamp was being parsed as a string inside a Date Object.
This would return an Invalid Date, therefore, failing to convert the timestamp into a valid date.

In here we are checking to see if the date is already a valid one, otherwise convert the timestamp to a number and try again.
We are checking first because most cases we don't want to convert to numbers.

Fix #5664

Ps: We could add another check, if the date is still invalid, throw an Error, but that's not the scope of the issue.

Signed-off-by: Luan <luan@luanmuniz.com.br>
2019-01-16 10:46:00 -02:00
Daniel Schep
c0a48b1ef7 remove use of Object.entries & String.includes & Array.includes 2019-01-16 07:32:07 -05:00
Sami Nurminen
d2ab71cc51 Convert reservedConcurrency to integer to allow use env var 2019-01-15 22:45:39 +02:00