diff --git a/.travis.yml b/.travis.yml index cf59b5a..385fa23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ python: - '2.7' install: - 'pip install yamllint==1.15.0' -- 'pip install cfn-lint==0.14.0' +- 'pip install cfn-lint==0.20.2' script: - 'yamllint module.yml' - 'cfn-lint -i W3002 -t module.yml' diff --git a/README.md b/README.md index e843cc4..f493c45 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Resources: The runtime environment for the Lambda function that you are uploading no - ['nodejs6.10', 'nodejs8.10', java8, 'python2.7', 'python3.6', 'dotnetcore1.0', 'dotnetcore2.0', 'go1.x'] + ['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5'] Timeout diff --git a/module.yml b/module.yml index 1ea24f7..f392539 100644 --- a/module.yml +++ b/module.yml @@ -68,7 +68,7 @@ Parameters: Runtime: Description: 'The runtime environment for the Lambda function that you are uploading' Type: String - AllowedValues: ['nodejs6.10', 'nodejs8.10', java8, 'python2.7', 'python3.6', 'dotnetcore1.0', 'dotnetcore2.0', 'go1.x'] + AllowedValues: ['dotnetcore1.0', 'dotnetcore2.1', 'go1.x', 'java8', 'nodejs10.x', 'nodejs8.10', 'python2.7', 'python3.6', 'python3.7', 'ruby2.5'] Timeout: Description: 'The function execution time at which Lambda should terminate the function' Type: Number @@ -109,7 +109,7 @@ Parameters: Type: String Default: '' ManagedPolicyArns: - Description: 'Optional comma-delimited list of IAM managed policy ARNs to attach to the task''s IAM role' + Description: 'Optional comma-delimited list of IAM managed policy ARNs to attach to the function''s IAM role' Type: String Default: '' LayerArns: @@ -281,7 +281,7 @@ Outputs: ModuleId: Value: 'lambda-function' ModuleVersion: - Value: '2.2.0' + Value: '2.3.0' StackName: Value: !Ref 'AWS::StackName' Arn: diff --git a/package.json b/package.json index 837c205..e159acb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cfn-modules/lambda-function", - "version": "2.2.0", + "version": "2.3.0", "description": "AWS Lambda function with automated IAM policy generation, encryption, log group and alerting", "author": "Michael Wittig ", "license": "Apache-2.0",