Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

125
Views
Terraform ignore_changes for CodeDeployProvisioningDeploymentId tag

I'm using Terraform v0.12.25 with provider.aws v2.70.0. I have ASG resource defined in Terraform:

resource "aws_autoscaling_group" "web" {
  name                      = "CodeDeploy_production_web"
  max_size                  = 40
  min_size                  = 1
  wait_for_capacity_timeout = "0"
  health_check_type         = "EC2"
  desired_capacity          = 1
  launch_configuration      = aws_launch_configuration.web.name
  vpc_zone_identifier       = data.aws_subnet_ids.subnets.ids
  suspended_processes       = []
  tag {
      key                 = "Environment"
      propagate_at_launch = true
      value               = "production"
    }
  tag {
      key                 = "Name"
      propagate_at_launch = true
      value               = "Web_App_production_CD"
    }
  tag {
         key                 = "CodeDeployProvisioningDeploymentId"
         propagate_at_launch = true
         value               = ""
     }
  lifecycle {
      ignore_changes = [
        desired_capacity,
        name
      ]
    }
}

I want to ignore changes on tag "CodeDeployProvisioningDeploymentId". I've tried adding it to ignore_changes block but I didn't succeed in making it work. Does anyone know how to do this?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!