Loading video player...
In this video, I walk you through how to set up an automated Terraform drift detection system that continuously monitors your AWS infrastructure and alerts you when it drifts from your declared Terraform state. This solution integrates GitHub Actions, AWS SES, CloudWatch, and OIDC authentication to deliver a secure, fully automated monitoring and alerting workflow — no manual Terraform commands or long-lived AWS credentials required. What You’ll Learn How to detect Terraform drift automatically using GitHub Actions. How to send detailed drift notifications via AWS SES. How to log results to CloudWatch for centralized monitoring. How to configure secure OIDC authentication to eliminate static AWS keys. How to organize Terraform code for drift detection, plan/apply, and OIDC setup. GitHub Repo: https://github.com/seunayolu/terraform-drift-detection