Skip to content

gh-actions-workflows/aws-lambda-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

AWS Lambda Workflows

Deploy your Python code to AWS Lambda.

How to use?

name: Deploy Python to AWS Lambda
on: [push]

jobs:
  deploy:
    uses: gh-actions-workflows/aws-lambda-workflows/.github/workflows/deploy-lambda.yaml@1.6
    with:
      function_name: my_function
      handler: my_handler.handler # File name "." name of the function that will be the Lambda entrypoint
    secrets:
      aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
      aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      aws_region: ${{ secrets.AWS_REGION }}

For more details on how it works, see the file: deploy-lambda.yaml.

About

Repository for storing GitHub Actions Workflows for AWS Lambda

Topics

Resources

Stars

Watchers

Forks