greeeg / aws-lambda-ci-cd

An example CI/CD pipeline with AWS Lambda, Terraform, GitHub Actions & Golang

Home Page:https://greeeg.com/en/issues/aws-lambda-ci-cd-pipeline-github-actions-terraform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS Lambda CI/CD

This repository is the source code for an article on how to set up a CI/CD pipeline for a serverless application using AWS, Terraform, GitHub Actions & Golang.

Getting started

In order to use this project, make sure to set up your AWS account, GitHub repository & local machine accordingly.

Setting up your AWS account

  • Create an S3 bucket that will be used to store Terraform’s state
  • Create a IAM user with programmatic access & AdministatorAccess policy

Setting up your local machine

  • Install Terraform with a version compatible with the one used in this project

Setting up your GitHub repository

  • Define two repository secrets for AWS_ACCESS_KEY_ID & AWS_SECRET_ACCESS_KEY to be used in the CD GitHub Actions workflow

About

An example CI/CD pipeline with AWS Lambda, Terraform, GitHub Actions & Golang

https://greeeg.com/en/issues/aws-lambda-ci-cd-pipeline-github-actions-terraform

License:MIT License


Languages

Language:HCL 85.3%Language:Go 13.6%Language:Makefile 1.1%