Put all of your application code (including your package.json
and node_modules
folder) into a folder in this directory named Package
. The entry point is Package/index.js
.
- Install AWS CLI
brew install awscli
- Configure AWS CLI
aws configure --profile [name of your project]
- AWS Access Key ID:
[paste-access-key-id-here]
- AWS Secret Access Key:
[paste-secret-access-key-here]
- Default region name:
us-east-1
- Default output format:
json
- AWS Access Key ID:
- Edit the deploy script to add the name of your Lambda function.
After making changes to the package source (under Package/
), run ./deploy.sh
in the root of the project.