Erik Erikson
93f3535781
Don't load config for config
...
Change the config command to not require loading of the `serverless.*` configuration file.
Fixes #4597
2019-02-05 15:23:55 -08:00
Eslam A. Hefnawy
c551abfe82
fixed cli tests when running in debug mode
2019-02-05 15:43:41 +03:00
Eslam A. Hefnawy
5896f0c43b
fix race condition when loading config file
2019-02-05 15:05:31 +03:00
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
exoego
5ed78b8024
Do not remove spaces in single-quote literal.
2019-02-02 22:46:58 +09:00
exoego
b67455db6e
Add tests for #5398
2019-02-02 22:45:39 +09:00
Eslam λ Hefnawy
8c53de83bf
Merge pull request #5758 from exoego/default-values
...
AWS: Add fallback support in ${cf} and ${s3}
2019-01-31 15:29:29 +03:00
Eslam λ Hefnawy
96e8ea6b0c
Merge pull request #5636 from shanehandley/master
...
Throw an error if plugin is executed outside of a serverless directory
2019-01-31 14:31:45 +03:00
Daniel Schep
0fb47a1e74
also preresolve keys within credentials
2019-01-29 16:33:08 -05:00
Daniel Schep
b3df0517f1
Require provider.credentials vars to be resolved before s3/ssm/cf vars
...
Similar to long standing region/stage and new profile preresolve.
test uses the service definition instead of `getCredentials` because
`getCredentials` is much more complex than `getStage`/`getProfile`/`getRegion`
and we only need to test that the config is updated, not all the
credential setting logic
2019-01-29 13:56:59 -05: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
Philipp Muens
1352d9bf97
Merge pull request #5656 from serverless/sls-5646
...
handle layers paths with trailing slash and leading ./ or just .
2019-01-29 14:02:19 +01:00
Daniel Schep
f54081216c
don't check call tty on macs
2019-01-28 11:41:58 -05:00
Daniel Schep
38d942eb11
fat finger
2019-01-28 10:33:31 -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
Daniel Schep
3093c8361d
resovle path prefix to make layers support paths with . & /
2019-01-28 09:51:18 -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
Eslam λ Hefnawy
bdea48b558
Merge pull request #5728 from exoego/print-no-log
...
Do not print logs if print command is used.
2019-01-28 14:09:59 +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
exoego
b67d9ca03c
Support default value if ${s3} and ${cf} failed.
2019-01-27 17:00:22 +09:00
exoego
d40e2b31eb
Add tests for fallback.
2019-01-27 13:17:01 +09: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
92f4f67337
tests for resolving profile before aws vars
2019-01-25 11:37:08 -05:00
Philipp Muens
eef96aaede
Merge pull request #5577 from serverless/provided-template
...
Add template for provided runtime with the bash sample from AWS
2019-01-25 15:08:38 +01: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
Daniel Schep
748dad8b3c
test coverate for provided template
2019-01-23 14:00:09 -05:00
Daniel Schep
26980e86c4
a template for provided runtime with the bash sample from AWS
2019-01-23 13:46:19 -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
e5d4b4f390
Merge pull request #5311 from bodaz/master
...
Upgrade google-cloudfunctions to v2 and set defaults to node8 etc
2019-01-23 15:35:57 +01:00