---
title: "Discussion on \"The Security Group Change Terraform Never Told Me About\" | Hashnode"
description: "Discussion on \"The Security Group Change Terraform Never Told Me About\". How I built Terraform drift detection with AWS CodeBuild, SSM, and SNS while handling Terraform plan exit codes correctly."
url: "https://hashnode.com/posts/the-security-group-change-terraform-never-told-me-about/6a57a6780281a4e9af12b028"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [The Security Group Change Terraform Never Told Me About](https://blog.lalitbagga.com/the-security-group-change-terraform-never-told-me-about?utm_source=hashnode&utm_medium=feed)

How I built Terraform drift detection with AWS CodeBuild, SSM, and SNS while handling Terraform plan exit codes correctly.

Jul 15 · 5 min read · blog.lalitbagga.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#codebuild](https://hashnode.com/tag/codebuild)
-   [#sns](https://hashnode.com/tag/sns)
-   [#ssm](https://hashnode.com/tag/ssm)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[Lalit Bagga](https://hashnode.com/@lbagga)

@lbagga

  
[View profile](https://hashnode.com/@lbagga)

Software Engineer at Bayer transitioning into Cloud and DevOps engineering, with 8+ years of software development experience across mobile and web. Currently working hands-on with AWS infrastructure, Terraform, and Kubernetes in a production environment. ⚙️ Technical Foundation AWS Certified Solutions Architect Associate and Cloud Practitioner, currently pursuing HashiCorp Terraform Associate, with hands-on focus on: - Infrastructure as Code (Terraform, Helm) - CI/CD pipelines (GitHub Actions, OIDC-based AWS authentication) - Container orchestration (AWS EKS, Kubernetes) - Serverless architecture (Lambda, S3, SNS, SQS, API Gateway) At Bayer I work alongside senior infrastructure engineers on production AWS EKS deployments, writing Terraform for real infrastructure, and building automated pipelines. Open to connecting with cloud professionals and exploring Cloud Engineer, DevOps Engineer, and Platform Engineer opportunities in Ottawa and remote. 🤝

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
