1.0.0-alpha4 • Published 10 months ago

@easy-lamb/ts v1.0.0-alpha4

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

Easy Lamb TS

Parse, Build and Generate Terraform code for deploying AWS Lambda functions using Easy Lamb Terraform module.

Features

  • Parse a directory containing AWS Lambda functions written in TypeScript.
  • Build Terraform code for deploying AWS Lambda functions.
  • Generate Terraform code for deploying AWS Lambda functions.

Installation

npm install -g easy-lamb-ts

Usage

Create an easy-lamb.json file with your configuration at the root of your project:

{
  "lambdaDir": "src/handlers",
  "terraformDir": "devops/terraform",
  "terraformFilename": "functions.tfvars",
  "buildOutput": "bin",
  "defaultParams": {
    "memory": "128",
    "timeout": "30",
    "runtime": "nodejs22.x",
    "authorizer": "cognito-authorizer",
    "override_env": "true"
  },
  "dotenvLocation": ".env"
}

Run the following commands:

# Create a functions.tfvars file
easy-lamb-ts parse
# Build your TypeScript functions and create functions.tfvars file
easy-lamb-ts build
1.0.0-alpha4

10 months ago

1.0.0-alpha3

10 months ago

1.0.0-alpha2

10 months ago

1.0.0-alpha1

10 months ago

1.0.0-rc2

10 months ago

1.0.0-rc1

10 months ago

1.0.0

10 months ago