---
title: "Discussion on \"I Added a Tag in AWS. Terraform Removed It Automatically.\" | Hashnode"
description: "Discussion on \"I Added a Tag in AWS. Terraform Removed It Automatically.\". I opened the AWS console, selected an EC2 instance, added a tag, and saved it.\nThe tag did not exist in Terraform. The deployed infrastructure now said one thing while the code said another.\nThat was"
url: "https://hashnode.com/posts/i-added-a-tag-in-aws-terraform-removed-it-automatically/6a7269d39fba9f6fa50a4541"
---

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

Discussion

# [I Added a Tag in AWS. Terraform Removed It Automatically.](https://blog.lalitbagga.com/i-added-a-tag-in-aws-terraform-removed-it-automatically?utm_source=hashnode&utm_medium=feed)

I opened the AWS console, selected an EC2 instance, added a tag, and saved it. The tag did not exist in Terraform. The deployed infrastructure now said one thing while the code said another. That was

Aug 4 · 5 min read · blog.lalitbagga.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#devops](https://hashnode.com/tag/devops)
-   [#terraform](https://hashnode.com/tag/terraform)
-   [#infrastructure-as-code](https://hashnode.com/tag/infrastructure-as-code)
-   [#lamda](https://hashnode.com/tag/lamda)
-   [#codebuild](https://hashnode.com/tag/codebuild)

## 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.
