ECS Fargate pipeline with Terraform and OIDC
The situation. The client needed a container app running on AWS, with the infrastructure as code and deploys that run themselves.
What I built.
- A VPC, application load balancer, ECR repository and ECS Fargate service, all in Terraform modules
- GitHub Actions that test, build, push and deploy every merge to main, signing in to AWS with OIDC and no stored keys
- Automatic rollback if a new version fails its health checks
- A CloudWatch dashboard and three alarms that notify an SNS topic
- Remote Terraform state in S3 with KMS, and one command to create or remove everything


