1204 Commits

Author SHA1 Message Date
Rafal Wilinski
daffd05788 Fix throw condition and add tests 2017-09-11 23:37:11 +02:00
Rafal Wilinski
f67e4ad935 Throw error if specified profile does not exist 2017-09-11 23:23:14 +02:00
Philipp Muens
0e51b03270 Merge pull request #4173 from RafalWilinski/4042-update-lambda-cfg-on-deploy
Add --update-config flag to deploy function command
2017-09-08 11:57:59 +02:00
Rafal Wilinski
5f19ff757c Fix updateFunctionConfiguration logic 2017-09-07 18:57:13 +02:00
Rafal Wilinski
86b8ef729c Change deploy:function hook behavior 2017-09-07 17:26:42 +02:00
Rafal Wilinski
55639e1526 Add CloudWatch event description docs & tests 2017-09-07 10:33:52 +02:00
Rafal Wilinski
75c5140f4b Add Description to CloudWatch events 2017-09-06 18:55:15 +02:00
Rafal Wilinski
63bc836d9b Merge branch 'master' into 4042-update-lambda-cfg-on-deploy 2017-09-06 16:53:43 +02:00
Philipp Muens
1f2d81126e Merge pull request #4084 from tobyhede/4083-allow-fn-import-value-for-function-role
Using Fn:ImportValue for role should create empty DependsOn for strea…
2017-09-06 12:38:03 +02:00
Frank Schmid
2845ba3204 AWS info unit tests have to provide a valid cli object.
Otherwise code that logs, will crash.
2017-09-04 16:41:32 +02:00
Philipp Muens
01efc5d0a1 Fix failing test to work on Windows 2017-09-04 11:51:56 +02:00
Philipp Muens
1121a8d36a Update test for remainingTimes to be less strict about the time 2017-09-04 10:33:37 +02:00
Philipp Muens
bcf3a31ff5 Fix invokeLocal tests 2017-09-04 09:59:08 +02:00
Mariusz Nowak
ce1f619976 Merge branch 'master' into fix-tests 2017-09-01 12:13:04 +02:00
Philipp Muens
b529ff1e36 Merge pull request #4186 from dschep/fix-python-invoke-local-context-regressions
Fix Python invokeLocal regressions due to context changes
2017-09-01 11:17:17 +02:00
Philipp Muens
2e0f90939a Merge pull request #4120 from tobyhede/4094-allow-onError-to-be-more-good
Allow use of Ref and Fn::ImportValue in OnError
2017-09-01 09:52:43 +02:00
Philipp Muens
4fc34a5517 Minor code changes 2017-09-01 09:35:49 +02:00
Daniel Schep
8265b4984d Fix Python invokeLocal regressions due to context changes
The changes in 1.21 allowing custom context introduced bugs in the
Python invoke local implementation:

* If no custom context is set it would error out because the handler
would never be called
* AWS Lambda context objects in python aren't dictionaries, they're
Python objects
2017-08-31 14:44:05 -04:00
Rafal Wilinski
9df7c836a8 Fix test by omiting undefined values 2017-08-29 16:48:19 +02:00
Rafal Wilinski
1ff5027cfd Merge branch 'master' of https://github.com/serverless/serverless into 4042-update-lambda-cfg-on-deploy 2017-08-29 16:44:05 +02:00
Rafal Wilinski
a5ace701ac Add --update-config tests 2017-08-29 16:42:23 +02:00
Rafal Wilinski
82c4e3af48 Add deploy function --update-config implementation 2017-08-29 15:48:15 +02:00
Philipp Muens
490f517d12 Fix failing AWS provider test 2017-08-26 12:41:25 +02:00
davidwells
d4364b7c46 update link 2017-08-25 15:20:08 -07:00
Mariusz Nowak
d6b29ab338 Fix promises handling in AwsInvokeLocal tests 2017-08-25 11:27:07 +02:00
Philipp Muens
380a6c119f Merge pull request #4132 from medikoo/fix-delete-failed-discovery
Fix end of failed deletion discovery in AWS stack monitor
2017-08-24 10:33:57 +02:00
Philipp Muens
dec2e14566 Fix tests 2017-08-24 10:13:53 +02:00
Mariusz Nowak
14d5102b7b Improve error messages
They literally addressed deployment case, while operation may be about stack deletion
2017-08-23 17:21:29 +02:00
Philipp Muens
21dd400608 Merge pull request #3980 from mpuittinen/master
Fix aws-profile cli option to override env & config
2017-08-23 12:30:50 +02:00
Eslam λ Hefnawy
df5764dd4b Merge pull request #4126 from RafalWilinski/add-context
Add --context and --contextPath to `invoke local` cmd
2017-08-22 20:02:30 +07:00
Philipp Muens
dab9c5473a Minor cleanup after merging PRs for config credentials on AWS 2017-08-22 13:59:28 +02:00
Mariusz Nowak
732a410167 Add tests related to DELETE_FAILED outcome 2017-08-22 13:04:19 +02:00
Philipp Muens
c0b88badf0 Merge pull request #4134 from RafalWilinski/reverse-function-sorting
Reverse version sorting for "sls deploy list functions"
2017-08-22 11:04:48 +02:00
Jacob Massey
a8167c1e9d Set read/write owner permissions when .aws/credentials file is saved 2017-08-21 23:22:35 -04:00
Rafał Wiliński
d309c89301 Fix eslint issues 2017-08-21 23:27:16 +02:00
Rafał Wiliński
fc505e0b65 Reverse listFunctions versions sorting 2017-08-21 23:21:17 +02:00
Rafal Wilinski
b5e1564ab6 Merge branch 'master' into add-context 2017-08-21 22:59:37 +02:00
Mariusz Nowak
8dfaa277c6 Fix failed deletion discovery 2017-08-21 16:36:06 +02:00
Eslam λ Hefnawy
0530627b33 Merge pull request #4047 from Nevon/time-remaining-in-millis
Fix behavior of getRemainingTimeInMillis in local invokation
2017-08-21 21:31:54 +07:00
Eslam λ Hefnawy
8457f320d9 Merge pull request #3866 from medhoover/allow-aws-credentials-update
Allow aws credentials update
2017-08-21 18:51:42 +07:00
Rafał Wiliński
db439478ce Fix failing test 2017-08-19 17:41:20 +02:00
Rafał Wiliński
5e5f71df65 Add context and contextPath flags to invoke local cmd 2017-08-19 17:30:52 +02:00
Philipp Muens
03afbcb03f Merge pull request #4036 from dzimine/DZ/fix_3788
Optionally skip parsing input to JSON when using `invoke` and `invoke local`
2017-08-18 15:20:22 +02:00
Philipp Muens
03fa853bd6 Fix broken test 2017-08-18 14:01:52 +02:00
Philipp Muens
b05143e07a Merge branch 'master' into py-win32-invokeLocal 2017-08-18 13:58:52 +02:00
Philipp Muens
1de1272898 Merge master into PR 2017-08-18 10:25:51 +02:00
Toby Hede
115f519f37 Allow use of Ref and Fn::Import value in OnError 2017-08-18 11:49:19 +10:00
Philipp Muens
88e33a685c Merge pull request #4003 from vinodsr/master
Use naming.getStackName method instead of hardcoding.
2017-08-17 13:58:00 +02:00
Toby Hede
4461034137 Display stack name in info output 2017-08-15 14:11:57 +10:00
Toby Hede
a230763694 Using Fn:ImportValue for role should create empty DependsOn for stream event source mapping
Resolves #4083
2017-08-14 15:59:44 +10:00