Use Terraform or AWS CloudFormation to automate the deployment of Lambda functions, API Gateway endpoints, and DynamoDB tables.
project/
├── main.tf
├── variables.tf
├── lambda_function.py
├── lambda.zip
└── terraform.tfvars
This configuration removes the dependency on S3 and directly references the local deployment package, simplifying the setup and deployment process.
create_users.sh
- update terraform.tfvars, user creation script for variables as needed
- run the config terraform init, validate, plan, apply
- Enjoy