···6666make -C infra sync-site # copy it to the S3 bucket
67676868make -C infra create-local-api # Update CF stack e.g. if you have new Resources or Methods
6969-make -C infra deploy-local-api-lambda # Update code: build, zip, and redeploy the API Lambda code
6969+make -C infra update-local-api # Update code: build, zip, and redeploy the API Lambda code
7070```
71717272When you're done testing:
+2-2
docs/api-auth.md
···4646The CloudFormation template creates the function with placeholder code. Deploy the real implementation separately:
47474848```bash
4949-make -C infra deploy-local-api-lambda # LocalStack
5050-make -C infra deploy-aws-api-lambda # AWS
4949+make -C infra update-local-api # LocalStack
5050+make -C infra update-aws-api # AWS
5151```
52525353The API Lambda is built by esbuild, which bundles `@atproto/identity`, `@atproto/crypto`, and `@aws-sdk/lib-dynamodb` into a single `dist/index.js`.