🚀 Troubleshooting Critical Terraform Drift in AWS Production
Project Description / Post Body:
I recently encountered a critical CI/CD failure while deploying a serverless backend to a new AWS environment. The pipeline was paralyzed due to "Resource Drift"—a mismatch between the Terraform state file and the actual infrastructure.
The Challenge:
A manual "hotfix" in the AWS Console created "ghost resources" (Secrets) that Terraform couldn't see.
This caused repeated deployment failures and blocked the staging environment.
The Solution:
Instead of tearing down the environment, I used the terraform import workflow to:
Documented the full fix in my technical blog (Link below)
https://shorturl.at/ZJR3g
Outingo – Automated CI/CD Deployment with GitHub Actions
Implemented an automated CI/CD pipeline for the Outingo application using GitHub Actions. Configured the workflow to securely connect to an AWS EC2 server via SSH, pull the latest code, update Docker-based services, and deploy application changes automatically. Managed GitHub Actions secrets and Linux-based deployment environments while troubleshooting deployment and container-related issues.
Skills: GitHub Actions, CI/CD, Docker
:Deployed a FastAPI-based Hostel Management API on AWS EC2 using Docker, with PostgreSQL database integration. Configured the application environment, containerized the backend, and managed deployment on a Linux server.