Philipp Muens
00e0524ba3
Merge branch 'master' into feat/apiGatewayDescription
2019-03-07 13:20:19 +01: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
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
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
b22a2c9c48
Merge branch 'master' into aws-promisified-provider
2019-01-24 13:01:30 +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
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
Mischa Spiegelmock
b563fb218e
attempting to create a test for invoke local with profile
2019-01-16 15:58:30 +02:00
Takahiro Horike
07154d772f
Merge pull request #5694 from exoego/cross-region-same-stack-name
...
AWS: Request cache should add region as key to prevent cross-region cache collision
2019-01-16 00:32:48 +09:00
exoego
2f76b6e08d
Fix linting error.
2019-01-13 22:35:06 +09:00
exoego
4d4824f719
Add new property in jsdoc.
2019-01-13 22:16:09 +09:00
exoego
5790c3a69c
Fix request cache to consider cross-region for ${cf.REGION}.
2019-01-13 22:15:45 +09:00
exoego
997ac354f7
Update test for regression.
2019-01-12 07:39:17 +09:00
exoego
2f53ecab10
Drop validation before variable resolution.
2019-01-12 07:38:42 +09:00
Mischa Spiegelmock
7004831dd4
provide AWS_PROFILE from configuration for invoke local - same as region
2019-01-08 13:45:12 +02:00
exoego
d74c0bb679
Deep-clone so modifying credentials in method does not affect original credentials.
2019-01-04 21:00:59 +09:00
exoego
337eb79b61
Add regression test for cf.REGION syntax.
2019-01-04 21:00:11 +09:00
exoego
b37f5cdb4b
Remove validation for CloudFront since it is already implemented in createStack.js
2019-01-04 18:40:19 +09:00
exoego
85238c4331
Split validation: check underscore always and check hyphen only if http events are present.
2018-12-31 21:51:30 +09:00
exoego
e694cd1abf
Refactor: getStage returns dev as default.
2018-12-31 07:43:32 +09:00
exoego
0f1a47a957
Add test to increase coverage.
2018-12-30 23:17:32 +09:00
exoego
b9d183fa8c
Validate using RegExp.
2018-12-30 23:10:20 +09:00
exoego
4de7995139
Fix linting error.
2018-12-30 23:00:57 +09:00
exoego
a8194030e2
Add stage name validation to AWS provider.
2018-12-30 22:53:58 +09:00
jlamande@gmail.com
14c8af8246
feat(log): Log AWS SDK calls in debug mode
2018-12-18 02:41:36 +01:00
exoego
13de2a9083
Use lodash for consistency.
2018-12-10 09:50:16 +09:00
exoego
c3203aa347
Add test and document.
2018-12-08 21:29:00 +09:00
exoego
c46097c54f
Add capability to request different region only if it is specified in options.
2018-12-08 20:46:17 +09:00
vkkis
8fea1fa901
fix travis
2018-11-29 17:02:09 +02:00
vkkis
40f892b3d5
sets the description only if it's provided
2018-11-29 16:51:27 +02:00
Jeremy Benoist
f8a99e942d
--aws-profile should override profile defined in serverless.yml
2018-11-22 15:40:25 +01:00
vkkis
d88cf97107
test
2018-11-21 11:04:58 +02:00
vkkis
d300d5bc70
test commit
2018-11-21 10:22:56 +02:00
vkkis
e30e03f1fb
fix tests
2018-11-20 18:15:01 +02:00
vkkis
3180d7001d
fix tests
2018-11-20 17:39:21 +02:00
vkkis
821b9d9e3b
Support API Gateway stage deployment description
2018-11-20 14:56:54 +02:00
Kenneth Falck
828e4ae212
Remove automatic AWS_SDK_LOAD_CONFIG=true for backwards compatibility in tests
2018-11-01 13:09:09 +02:00
Daniel Schep
a75b5640c8
Store cachedCredential in AwsProvider instance instead of a global
...
and fix lint error
2018-10-31 14:38:15 -04:00
Kenneth Falck
c064edef19
Support role_arn, source_profile and mfa_serial in ~/.aws/config
...
This sets the AWS_SDK_LOAD_CONFIG environment variable which allows
AWS SDK to read ~/.aws/config, and implements the tokenCodeFn
callback which asks the user to enter a MFA code. Credentials are
also cached to avoid creating the object multiple times, which
makes MFA work properly when multiple requests are made.
With these changes Serverless Framework should be compatible with
AWS CLI, so that these instructions for assuming a role work
out-of-the-box:
https://docs.aws.amazon.com/cli/latest/userguide/cli-roles.html
2018-10-30 21:18:25 +02:00
weeniearms
b5da4d09ed
Added possibility to specify custom S3 key prefix instead of the standard 'serverless'
2018-09-17 09:35:40 +02:00
Eslam A. Hefnawy
5b7ccbccaa
support more than 100 resources in dashboard
2018-08-03 16:55:58 +03:00
Kalarrs Topham
028187176d
Updated aws provider to invoke .promise on methods that support it. Otherwise falls back to .send with a callback.
2018-07-25 09:23:47 -07:00
Eslam A. Hefnawy
41c44a29d6
added resources data
2018-07-23 16:05:45 +03:00