@cfn-modules/lambda-function
Advanced tools
+2
-2
@@ -6,4 +6,4 @@ --- | ||
| install: | ||
| - 'pip install yamllint==1.15.0' | ||
| - 'pip install cfn-lint==0.20.2' | ||
| - 'pip install yamllint==1.19.0' | ||
| - 'pip install cfn-lint==0.25.3' | ||
| script: | ||
@@ -10,0 +10,0 @@ - 'yamllint module.yml' |
+20
-2
@@ -73,3 +73,3 @@ --- | ||
| Type: String | ||
| AllowedValues: ['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5'] | ||
| AllowedValues: ['nodejs12.x', 'nodejs10.x', 'nodejs8.10', 'python3.8', 'python3.7', 'python3.6', 'python2.7', 'ruby2.5', 'java11', 'java8', 'dotnetcore2.1', 'go1.x'] | ||
| Timeout: | ||
@@ -149,2 +149,3 @@ Description: 'The function execution time at which Lambda should terminate the function' | ||
| HasClientSgModule3: !Not [!Equals [!Ref ClientSgModule3, '']] | ||
| HasTracingConfigModeActive: !Equals [!Ref TracingConfigMode, Active] | ||
| Resources: | ||
@@ -181,2 +182,19 @@ Role: | ||
| - !If | ||
| - HasDeadLetterQueueModule | ||
| - Effect: Allow | ||
| Action: 'sqs:SendMessage' | ||
| Resource: {'Fn::ImportValue': !Sub '${DeadLetterQueueModule}-Arn'} | ||
| - !Ref 'AWS::NoValue' | ||
| - !If | ||
| - HasTracingConfigModeActive | ||
| - Effect: Allow | ||
| Action: | ||
| - 'xray:PutTraceSegments' | ||
| - 'xray:PutTelemetryRecords' | ||
| - 'xray:GetSamplingRules' | ||
| - 'xray:GetSamplingTargets' | ||
| - 'xray:GetSamplingStatisticSummaries' | ||
| Resource: '*' | ||
| - !Ref 'AWS::NoValue' | ||
| - !If | ||
| - HasDependencyModule1 | ||
@@ -290,3 +308,3 @@ - Effect: Allow | ||
| ModuleVersion: | ||
| Value: '2.4.1' | ||
| Value: '2.6.0' | ||
| StackName: | ||
@@ -293,0 +311,0 @@ Value: !Ref 'AWS::StackName' |
+1
-1
| { | ||
| "name": "@cfn-modules/lambda-function", | ||
| "version": "2.5.0", | ||
| "version": "2.6.0", | ||
| "description": "AWS Lambda function with automated IAM policy generation, encryption, log group and alerting", | ||
@@ -5,0 +5,0 @@ "author": "Michael Wittig <michael@widdix.de>", |
+2
-2
@@ -40,3 +40,3 @@ [](https://travis-ci.org/cfn-modules/lambda-function) | ||
| ReservedConcurrentExecutions: '-1' # optional | ||
| Runtime: 'nodejs10.x' # required | ||
| Runtime: 'nodejs12.x' # required | ||
| Timeout: '3' # optional | ||
@@ -158,3 +158,3 @@ TracingConfigMode: PassThrough # optional | ||
| <td>no</td> | ||
| <td>['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5']</td> | ||
| <td>['nodejs12.x', 'nodejs10.x', 'nodejs8.10', 'python3.8', 'python3.7', 'python3.6', 'python2.7', 'ruby2.5', 'java11', 'java8', 'dotnetcore2.1', 'go1.x']</td> | ||
| </tr> | ||
@@ -161,0 +161,0 @@ <tr> |
@@ -10,3 +10,3 @@ --- | ||
| Handler: 'defaults.handler' | ||
| Runtime: 'nodejs10.x' | ||
| Runtime: 'nodejs12.x' | ||
| TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml' |
+1
-1
@@ -21,4 +21,4 @@ --- | ||
| Handler: 'defaults.handler' | ||
| Runtime: 'nodejs10.x' | ||
| Runtime: 'nodejs12.x' | ||
| LayerArns: !Ref Layer | ||
| TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml' |
+1
-1
@@ -10,4 +10,4 @@ --- | ||
| Handler: 'defaults.handler' | ||
| Runtime: 'nodejs10.x' | ||
| Runtime: 'nodejs12.x' | ||
| FunctionName: 'NamedLambda' | ||
| TemplateURL: './node_modules/@cfn-modules/lambda-function/module.yml' |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
192949
0.38%0
-100%