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
c8632dded9
Migrated IamPolicyLambdaExecution resource statements towards inline polices within the IamRoleLambdaExecution resource
2017-02-19 21:12:11 +01:00
Philipp Muens
2181ba9478
Remove unused CloudFormation template
2017-01-23 13:21:10 +01:00
Philipp Muens
a6c3240d62
Fix broken test after rebasing
2017-01-20 14:48:28 +01:00
Philipp Muens
116c79dbf8
Refactor function arn generation for info plugin
2017-01-20 14:45:11 +01:00
Philipp Muens
4f9cafb119
Minor cleanups
2017-01-14 14:04:43 -08:00
Ryan S. Brown
d4a1aafd80
Add versionFunctions as an AWS provider option that will reduce the default number of stack outputs.
...
Per #2853 , having versions as resources/outputs can trigger some limits
related to CloudFormation stack outputs. This leaves the existing
default, but if turned to `false` will reduce the number of outputs by
N, where N is the number of functions total.
2017-01-05 11:23:52 -05:00
Nick den Engelsman
1d0a5e95eb
Add missing DependsOn within test suite
2016-11-28 12:24:58 +01:00
Nick den Engelsman
c3620e501b
Merge branch 'master' of github.com:serverless/serverless
...
# Conflicts:
# lib/plugins/aws/deploy/lib/iam-policy-lambda-execution-template.json
2016-11-28 12:03:25 +01:00
Nick den Engelsman
9e9e0e51c5
Remove Ref support and improve test descriptions
2016-11-28 11:56:45 +01:00
Nick den Engelsman
446abce10e
Fix issue where error description becomes unreadable
2016-11-28 11:56:23 +01:00
Eslam A. Hefnawy
697cd7ef9b
fixed logical id for lambda version
2016-11-25 18:40:59 +07:00
Ryan S. Brown
29de5c2f7a
Move Lambda version ID generation out to naming.js
2016-11-24 08:04:07 -05:00
Ryan S. Brown
ed156155f7
Add Lambda fully qualified ARNs to expected output
2016-11-24 08:04:07 -05:00
Ryan S. Brown
1cc3c2c669
Create dummy files for service artifacts
2016-11-24 08:04:07 -05:00
Ryan S. Brown
719f11c4cc
Fix variable that had its name changed
2016-11-24 08:04:07 -05:00
Ryan S. Brown
0f86a9524e
Fix linting
2016-11-24 08:04:07 -05:00
Ryan S. Brown
20dee7cb1c
On every deploy, publish a new Lambda function version
...
Having Lambda deploys count as distinct function versions is really
helpful for logging, since it cleanly separates out logs between
sources.
This change adds:
- Calculation of SHA256 sums of artifacts
- An `AWS::Lambda::Alias` resource based on that SHA
- A dependency between each deployed function to its alias
- A stack output for each function `LogicalIdQualifiedArn` which is the
function ARN with the version appended.
2016-11-24 08:04:07 -05:00
Philipp Muens
8aad2372eb
Refactor test structure
...
So that all tests follow the *.test.js pattern and globs are used to find test files.
2016-11-22 12:49:26 +01:00
Nick den Engelsman
fc5bd1ac43
Add DependsOn for Lambda functions and IamPolicyLambdaExecution
2016-11-22 10:28:13 +01:00
Philipp Muens
17286cb87a
Add test for overwriting environment variables
2016-11-21 10:45:05 +01:00
Philipp Muens
26ff0fafdd
Add additional tests
2016-11-21 09:39:17 +01:00
Philipp Muens
2d390edfce
Only create environment variables if config is given
2016-11-21 09:22:40 +01:00
bryan pedlar
e381e9e4ef
fixed linting issues
2016-11-19 21:55:56 -05:00
Bryan Pedlar
ca41f63c48
added validation of environment variable names
2016-11-19 21:40:10 -05:00
bryan pedlar
1f1c63dc7a
global environment variables are added appropriately
2016-11-19 21:38:46 -05:00
bryan pedlar
e79bb27222
fixed yet more linting errors
2016-11-19 19:30:21 -05:00
bryan pedlar
3fc632f4c1
fixed more linting errors
2016-11-19 19:27:32 -05:00
bryan pedlar
d4b16a12c2
fixed linting errors
2016-11-19 19:24:02 -05:00
bryan pedlar
94d93e3d62
added environment variable support
2016-11-19 18:35:26 -05:00
Eslam A. Hefnawy
fef9b68e5a
refactored naming-js method naming
2016-11-10 19:05:02 +07:00
Eslam A. Hefnawy
61efd35850
added logical id names in naming-js file
2016-11-09 19:31:08 +07:00
Philipp Muens
c2c67b9d05
Fix failing tests
2016-11-01 15:00:16 +01:00
Philipp Muens
6188569238
Minor code style updates
2016-11-01 14:53:52 +01:00
Philipp Muens
fddc4db04f
Merge branch 'master' into add-custom-per-function-roles
2016-11-01 14:43:21 +01:00
Philipp Muens
91fc7c97e6
Merge pull request #2521 from serverless/prettify-aws-compile-functions-error-messages
...
Prettify AwsCompileFunctions error messages
2016-10-24 15:53:29 +02:00
Philipp Muens
691eab5da6
Prettify AwsCompileFunctions error messages
2016-10-24 13:32:27 +02:00
Eslam A. Hefnawy
5379008ad8
fixed conflicts
2016-10-24 16:27:09 +07:00
Philipp Muens
81617dc46a
Merge pull request #2425 from mankins/master
...
add ability for functions to override runtime to have multi-language …
2016-10-20 07:41:15 +02:00
Philipp Muens
c273abec68
Move AwsProvider plugin into aws directory
2016-10-19 08:32:06 +02:00
Philipp Muens
c7b7472a48
Update provider properties in plugins
2016-10-19 08:32:06 +02:00
Matt Mankins
c874cc86df
[TEST] add tests for function override runtime PR#2425
2016-10-18 15:01:24 -04:00
Matt Mankins
c03e2a87dd
add ability for functions to override runtime to have multi-language services
2016-10-17 18:46:12 -04:00
Erik Erikson
8dbbb596fe
Merge branch 'master' into add-per-function-custom-roles
...
# Conflicts:
# docs/02-providers/aws/02-iam.md
2016-10-17 10:43:07 -07:00
Philipp Muens
a7a04eb6f6
Closes #2292 - Remove outdated README.md files
2016-10-11 20:21:27 -07:00
Erik Erikson
a5c316cb31
Merge Changes
...
The split of stack configuration and function compilation required a more in depth merge.
Commentary: it also creates strange interaction of the expectations and code across those two files.
2016-10-04 17:27:32 -07:00
Erik Erikson
2a5cbcc07e
Merge branch 'master' into reduce-scope-of-rights-of-default-iamlambdarole
...
# Conflicts:
# lib/plugins/aws/deploy/compile/functions/index.js
# lib/plugins/aws/deploy/compile/functions/tests/index.js
2016-10-04 16:25:44 -07:00
Erik Erikson
a982989898
Collapse role & roleArn Down To role
...
1. Make changes
2. Change tests
3. Change Docs
2016-10-04 15:09:06 -07:00
Erik Erikson
52c95c3b25
merge changes
2016-10-04 13:02:26 -07:00
Erik Erikson
91de87243e
Merge branch 'master' into add-per-function-custom-roles
...
# Conflicts:
# lib/plugins/aws/deploy/compile/functions/index.js
# lib/plugins/aws/deploy/compile/functions/tests/index.js
2016-10-04 09:45:31 -07:00