Content Deep Dive
Git Push to Deploy Lambdas using CircleCI
Blog post from Hasura
Post Details
Company
Date Published
Author
Tirumarai Selvan
Word Count
1,109
Language
English
Hacker News Points
-
Summary
This post discusses how to set up a git push workflow for deploying functions on AWS Lambda using CircleCI. The process involves setting up a repository with functions, one-time setup of AWS and CircleCI, configuring CircleCI, and performing a git push. The goal is to have environment-specific HTTP endpoints for each function in three environments: Dev, Stg, and Prod. The post also provides a sample repo structure and outlines the steps required for setting up Lambda Execution Role on AWS, API Gateway, adding repos in CircleCI, and configuring environment variables in CircleCI. Finally, it explains how to use the provided files (config.yml and deploy.sh) to build and deploy functions to Lambda with an API Gateway.