9525 Commits

Author SHA1 Message Date
Philipp Muens
0caa3003af Remove package-lock.json changes 2019-02-07 11:15:47 +01:00
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 λ Hefnawy
3b9957f072
Merge pull request #5794 from serverless/fix-tests-debug
fixed cli tests when running in debug mode
2019-02-05 15:58:16 +03:00
Eslam A. Hefnawy
c551abfe82 fixed cli tests when running in debug mode 2019-02-05 15:43:41 +03:00
Philipp Muens
4a64f4a7bc
Merge pull request #5793 from serverless/fix-yml-race-condition
Fix race condition when loading config file
2019-02-05 13:23:20 +01:00
Eslam A. Hefnawy
5896f0c43b fix race condition when loading config file 2019-02-05 15:05:31 +03:00
Daniel Schep
04a2a6572e
Merge pull request #5788 from serverless/secrets-via-ssm
Document how to use Secrets Manager
2019-02-04 17:22:51 -05:00
Daniel Schep
cefe6f0d42
Add aws secrets mgr to TOC of aws vars 2019-02-04 16:53:03 -05:00
Alex DeBrie
74a1260bee
Update docs/providers/aws/guide/variables.md
Co-Authored-By: dschep <dschep@gmail.com>
2019-02-04 16:51:24 -05:00
Alex DeBrie
2e496920ee
Update docs/providers/aws/guide/variables.md
Co-Authored-By: dschep <dschep@gmail.com>
2019-02-04 16:51:17 -05:00
Daniel Schep
ff82197940
Document how to use Secrets Manager
closes #5024

Thanks to @alexdebrie for pointing me to the AWS docs on how to use Secrets Manager via SSM: https://docs.aws.amazon.com/systems-manager/latest/userguide/integration-ps-secretsmanager.html
2019-02-04 11:10:41 -05:00
Eslam λ Hefnawy
61d3af3275
Merge pull request #5785 from pchynoweth/master
Fixes for AWS cors config issues
2019-02-04 16:31:39 +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
Philipp Muens
398a92afb5
Merge pull request #5775 from exoego/single-quote-fallback
Preserve whitespaces in single-quote literal fallback
2019-02-03 14:56:36 +01: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
9cd8c41ce5
Merge pull request #5763 from serverless/credentials-preresolve
Require provider.credentials vars to be resolved before s3/ssm/cf vars
2019-01-30 08:00:49 -05: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
Philipp Muens
5da5e7204b
Merge pull request #5760 from serverless/pdb-mac
don't check call tty on macs
2019-01-29 13:41:58 +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
Philipp Muens
0084607274 Update serverless.yml docs 2019-01-28 13:39:21 +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
Eslam λ Hefnawy
92c38ab78f
Merge pull request #5754 from yuki3738/add-helloworld-example-for-ruby
Add Hello World Ruby Example
2019-01-28 14:01:49 +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
yuki3738
279c85eb64 Add Hello World Ruby Example 2019-01-26 16:38:18 +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