5.5.2 • Published 5 months ago

@jcoreio/toolchain-aws-lambda v5.5.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@jcoreio/toolchain-aws-lambda

This project deploys an AWS Lambda Function from JS or TS source.

Features

  • Supports .env file, you can put AWS credentials, AWS_SDK_LOAD_CONFIG=1, AWS_REGION etc in .env if you like
  • Adds the tc deploy script, which deploys to AWS
  • Uses pack-lambda to stream the source to S3, supporting pnpm
  • If you use @jcoreio/toolchain-semantic-release, will deploy in CI

Conventions

The project must contain scripts/cloudFormationTemplate.js (or .ts if you're using @jcoreio/toolchain-typescript) that exports the following:

  • StackName (optional) - the name for the CloudFormation Stack (defaults to the Lambda FunctionName)
  • Template - the CloudFormation template
  • Parameters (optional) - the parameters for the template
  • Capabilities - the capabilities to use when deploying the stack
  • Tags (options) - the tags for the CloudFormation Stack

The Template must contain one AWS::Lambda::Function or AWS::Serverless::Function. It will provide defaults for the following properties, so they are optional:

  • Description: defaults to the description in package.json
  • CodeUri: defaults the Bucket to the AWS Account, and the Key to something based upon the name in package.json
  • Handler: defaults to the handler export in the main file in package.json
  • Runtime: defaults to nodejs20.x
  • FunctionName: defaults to something based upon the name in package.json
5.5.1

5 months ago

5.3.3

7 months ago

5.5.0

5 months ago

5.3.2

7 months ago

5.3.1

7 months ago

5.3.0

7 months ago

5.1.2

7 months ago

5.1.1

9 months ago

4.12.3

12 months ago

5.1.0

9 months ago

4.12.4

11 months ago

4.12.0

12 months ago

4.12.1

12 months ago

4.12.2

12 months ago

5.4.5

5 months ago

5.4.4

6 months ago

5.4.3

6 months ago

5.4.2

6 months ago

5.4.1

6 months ago

5.4.0

6 months ago

5.2.0

7 months ago

5.0.2

10 months ago

5.0.1

10 months ago

5.0.0

10 months ago

4.11.0

12 months ago

4.11.1

12 months ago

5.3.6

6 months ago

5.3.5

6 months ago

5.5.2

5 months ago

5.3.4

6 months ago

4.10.0

12 months ago

4.9.0

1 year ago

4.8.0

1 year ago

4.6.2

1 year ago

4.9.1

1 year ago

4.7.0

1 year ago

4.5.8

1 year ago

4.5.7

1 year ago

4.5.6

1 year ago

4.6.1

1 year ago

4.6.0

1 year ago

4.5.4

1 year ago

4.5.5

1 year ago

4.5.3

1 year ago

4.3.5

1 year ago

4.5.0

1 year ago

4.4.0

1 year ago

4.5.2

1 year ago

4.3.4

1 year ago

4.5.1

1 year ago

4.3.3

1 year ago

4.3.2

1 year ago

4.3.1

1 year ago

4.3.0

1 year ago