1324 Commits

Author SHA1 Message Date
Rowell Belen
ca1eee3e05 AWS Groovy Gradle Template 2017-03-10 22:23:49 -07:00
Eslam λ Hefnawy
dae7975478 Merge pull request #3349 from dougmoscrop/globby
Use globby instead of glob-all
2017-03-10 17:49:02 +08:00
Doug Moscrop
e9bf9f3045 Use globby instead of glob-all because it can handle large lists of includes 2017-03-09 19:53:00 -05:00
Daniel Schep
1f0e671f5b Add virtualenv suppport to Python invokeLocal
Since the invoke local functionality overrides `process.env.PATH`, only the
system python is found, not the python provided by an active virtualenv. This
checks for the `VIRTUAL_ENV` environment variable and if present, adds it's bin
dir to `PATH`.
2017-03-09 16:47:26 -05:00
Jonathan Carter
e9bd70b61a Adding template README 2017-03-07 09:12:29 -08:00
Jonathan Carter
744e87bc27 Adding test 2017-03-06 15:44:16 -08:00
Jonathan Carter
15e3fcd08d Fixing lint errors 2017-03-06 15:23:51 -08:00
Jonathan Carter
07667d13be Adding Azure/Node create template 2017-03-06 15:11:28 -08:00
Ryan S. Brown
8f7584b37e Enforce schema on dynamic stream ARNs
This commit enforces that any dynamic stream *must* have either
Fn::GetAtt or Fn::ImportValue, and can't have any extra keys.
2017-03-02 19:46:25 -05:00
Ryan S. Brown
2c01c06d6d LINT FOR THE LINTING GODS 2017-03-01 21:52:30 -05:00
Ryan S. Brown
9ca9baabfa Add tests for dynamic ARNs 2017-03-01 21:33:54 -05:00
Ryan S. Brown
b42585f568 Fix lint errors 2017-03-01 21:00:16 -05:00
Ryan S. Brown
9ab56970e0 Patch DynamoDB and kinesis stream detection to allow use of GetAtt/ImportValue 2017-03-01 21:00:16 -05:00
Eslam λ Hefnawy
af3d463e03 Merge pull request #3297 from serverless/fix-monitor-stack-freezing-bug
Fix monitorStack freezing bug
2017-02-28 23:49:09 +08:00
Philipp Muens
010fe8b0f3 Merge pull request #3310 from serverless/quickfix-too-many-files-open
Quickfix too many files open
2017-02-28 16:40:56 +01:00
Philipp Muens
6c82f71be8 Quickfix too many files open 2017-02-28 16:07:39 +01:00
Eslam λ Hefnawy
dc0c92b00a Merge pull request #2983 from nicka/master
BREAKING - Replace IamPolicyLambdaExecution with inline policies and added ManagedPolicyArns to fix VPC permissions
2017-02-28 22:00:35 +07:00
Colby M. White
0d679c295d correct spelling typos 2017-02-27 19:34:23 -08:00
Nick den Engelsman
6ee7930526 Replace remaning IamPolicyLambdaExecution’s with IamRoleLambdaExecution 2017-02-27 12:49:36 +01:00
Nick den Engelsman
1e7bc75334 Remove logs:CreateLogGroup from the default IAM policy since Log group resources are created through CloudFormation by default 2017-02-27 12:46:21 +01:00
Philipp Muens
02707b90f5 Merge pull request #3085 from jogold/iam-role-statements-examples
Show valid iam role statements examples in docs and templates
2017-02-27 10:19:56 +01:00
Philipp Muens
6144434d47 Merge pull request #3219 from christophgysin/remove-exec-bit
remove executable bit
2017-02-27 10:11:56 +01:00
Philipp Muens
d77b5dfbae Merge pull request #3239 from serverless/update-function-displaying-for-info-plugin
BREAKING - Update function name displaying for info plugin
2017-02-27 10:10:02 +01:00
Philipp Muens
43a721efcb Fix monitorStack freezing bug 2017-02-24 14:11:59 +01:00
Nick den Engelsman
5a55233d96 Make sure we always create the log group resources 2017-02-23 13:14:55 +01:00
Nick den Engelsman
574a4a78a7 Rebase on top of master 2017-02-20 21:08:45 +01:00
Nick den Engelsman
e879b2a6bc Improved tests for lib/plugins/aws/deploy/compile/functions/index.test.js
Improved tests for lib/plugins/aws/deploy/compile/functions/index.test.js

wip
2017-02-20 21:08:32 +01:00
Nick den Engelsman
dae2a5d359 Add missing policy name 2017-02-19 21:14:58 +01:00
Nick den Engelsman
c8632dded9 Migrated IamPolicyLambdaExecution resource statements towards inline polices within the IamRoleLambdaExecution resource 2017-02-19 21:12:11 +01:00
Eslam λ Hefnawy
cc94945f8e Merge pull request #3067 from vladgolubev/fix-average-functions-duration
Fix average functions duration calculation in metrics output
2017-02-14 20:11:42 +07:00
Eslam λ Hefnawy
724e225864 Merge pull request #3102 from horike37/add-cloudwatch-to-event-source
Add CloudWatch event source
2017-02-14 19:49:14 +07:00
Philipp Muens
ff4bff6b74 Update name displaying to include name and deployed name 2017-02-14 10:19:22 +01:00
Philipp Muens
edbd86aba2 Update function name displaying for info plugin 2017-02-13 13:27:57 +01:00
Philipp Muens
b0df37673b One-Liner to reduce memory footprint during zipping process 2017-02-09 14:56:55 +01:00
Christoph Gysin
ca7927a0fa remove executable bit 2017-02-09 15:15:27 +02:00
Eslam A. Hefnawy
f553547733 log group resources are now created even when no roles are created 2017-02-08 21:47:16 +07:00
Vlad Golubev
12ba45421c Merge branch 'master' into fix-average-functions-duration 2017-02-07 23:42:25 +02:00
Vlad Golubev
e8bf95997e Merge branch 'master' into fix-average-functions-duration 2017-02-07 23:41:50 +02:00
Philipp Muens
2cd1dfff0b Minor adjustments 2017-02-06 14:09:52 +01:00
horike37
fd7e167807 Dropped name and description statements 2017-02-04 09:46:06 +09:00
horike37
3ada150d53 Merge branch 'add-cloudwatch-to-event-source' of github.com:horike37/serverless into add-cloudwatch-to-event-source 2017-02-04 09:03:01 +09:00
horike37
8bb29727d1 Merge branch 'master' into add-cloudwatch-to-event-source 2017-02-04 09:02:24 +09:00
Philipp Muens
66588856cb Update event naming
So that it won't clash when other CloudWatch events are implemented.
2017-02-03 14:55:38 +01:00
Philipp Muens
54fbaadede Remove defaults service property 2017-01-30 11:03:40 +01:00
Eslam λ Hefnawy
fdd3470f92 Merge pull request #3145 from ryansb/bug/reduceMemoryUsage
Reduce memory consumption on deploy by at least 50%
2017-01-29 19:29:42 +07:00
Philipp Muens
20a2a48a74 Remove on-the-fly arn generation for displayed functions 2017-01-27 13:22:27 +01:00
Eslam A. Hefnawy
d97e49f376 create loggroup resource by default 2017-01-27 17:29:30 +07:00
Eslam A. Hefnawy
ce7f9bbc20 creating log groups 2017-01-27 17:29:30 +07:00
Eslam λ Hefnawy
dde1b48ad5 Merge pull request #3083 from erikerikson/allow-role-reference-in-func-role-attr
Allow Role 'Fn::GetAtt' for Lambda `role`
2017-01-27 16:48:37 +07:00
Erik Erikson
5bd31687b5 Use STS getCallerIdentity instead of IAM getUser
A possible fix for https://github.com/serverless/serverless/issues/3151
Switch from using IAM `getUser` to get the account ID of the current user to calling STS `getCallerIdentity`.  It is expected that this is a less protected segment of rights and will, as a result, impact fewer users.  Of course, this is hard to guarantee.
Changes tests appropriately

Related Docs:
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#getCallerIdentity-property
2017-01-26 18:14:15 -08:00