Skip to content

Add AWS SAM for creating Lambda and API Gateway  #11

Description

@bhavsarpratik

SAM code for pipeline - zero-shot-classification in zero-shot-classification/sam

  • create lambda with name same as pipeline directory
  • use the pipeline name ECR registry with container tagged as latest
  • use configuration of 2000 RAM and 30 sec timeout
  • create API gateway
    • add resource name same as pipeline name
    • add post method to the path /pipeline-name
  • add this creation step commands to pipeline github workflow (should create lambda and API if they do not exist)

Kindly test it end2end on your AWS account before creating the PR

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions