Architecture - Designing a CI/CD (Part 2) using Github + Terraform + Atlantis to deploy AWS resources

·

1 min read

This is an infra deployment using Github, Terraform, Atlantis, and AWS ECR + ECS

The goal here is to deploy AWS infrastructure ECR + ECS using IaC Terraform. Atlantis acts as an central agent, and Github as the code repository.

How this works is when Atlantis notice a checkin code in Github, it will perform Terraform Plan, once there is no issue, the DevOps can just put in the code review as ‘Atlantis Apply’. The IaC will happens and resources will be deployed to AWS

If there is issue, you will see this

You can find the code here

https://github.com/squid-labs/zurich-iac