Skip to content

Instantly share code, notes, and snippets.

@mshakhomirov
Created April 12, 2023 02:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mshakhomirov/4464c4c649dd592ccf4d94ffd4037fd5 to your computer and use it in GitHub Desktop.
Save mshakhomirov/4464c4c649dd592ccf4d94ffd4037fd5 to your computer and use it in GitHub Desktop.
# Deploy packaged Lambda using AWS CLI:
aws \
lambda create-function \
--function-name mysql-lambda \
--zip-file fileb://stack.zip \
--handler <path-to-your-lambda-handler>/app.lambda_handler \
--runtime python3.8 \
--role arn:aws:iam::<your-aws-account-id>:role/my-lambda-role
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment