Workflows for creating, deploying, working offline and more with AWS Lambda
npm i @architect/workflows
This makes the following npx
commands available:
config
looks for.arc-config
files in all lambdas and ensures corosponding AWS Lambda deployment targets config is in sync; currently onlytimeout
andmemory
supportedcreate
reads the.arc
file in the current working directory and generates corosponding local code and AWS infra (if it does not already exist)deploy
deploys lambdas insrc
and syncs s3 bucketsdns
sets up custom domains with API Gatewayenv
read and write environment variables to all lambdas defined by.arc
help
get some helphydrate
runsnpm i
in all lambdas;hydrate update
runsnpm update
in all lambdasinventory
read/verify infra defined by.arc
;inventory nuke
deletes all infra except dynamodb tables;ARC_NUKE=tables inventory nuke
deletes tablessandbox
runs.arc
locally with an in-memory database;ARC_LOCAL=yas NODE_ENV=staging sandbox
runs locally but uses dynamodbstaging
tables
To see more examples try running:
npx help
Full docs found at https://arc.codes