- Look at environments variables and set at least required variables
export AWS_REGION="us-east-2"
export MODE=local
export COGNITO_USER_POOL_ID="ap-southeast-2_EPyUfpQq7"
export S3_BUCKET_NAME="mybuckettest"
- Run lambda locally
go run main.go
export AWS_REGION="us-east-2"
export MODE=local
export COGNITO_USER_POOL_ID="ap-southeast-2_EPyUfpQq7"
export S3_BUCKET_NAME="mybuckettest"
go run main.go