Using the CLI
Building
lemna buildUse a custom path
lemna build my-app/lemna.config.mjsUse glob patterns
lemna build lambdas/**/lemna.config.mjsDeployment
Create a .env file and place your AWS credentials in it. Then run:
lemna deployNote: deploy will run build automatically
Use a custom path
lemna deploy my-app/lemna.config.mjsUse glob patterns
lemna deploy lambdas/**/lemna.config.mjsDeploy multiple functions
lemna deploy firstconfig.mjs secondconfig.mjs [...]List functions
lemna lsExample: Print the runtime of my functions
lemna ls | jq -C "[.[].Runtime]"Print function details
lemna show my-functionDelete function
lemna rm my-functionDebugging/Tracing
Run with LEMNA_LOG_LEVEL=error/warn/info/verbose/debug/silly
LEMNA_LOG_LEVEL=silly lemna deploy