terraform-aws-modules / terraform-aws-autoscaling

Terraform module to create AWS Auto Scaling resources 🇺🇦
https://registry.terraform.io/modules/terraform-aws-modules/autoscaling/aws
Apache License 2.0
289 stars 553 forks source link

Initial lifecycle hooks not updated #206

Closed rr-krupesh-savaliya closed 1 year ago

rr-krupesh-savaliya commented 1 year ago

Description

Once the lifecycle hook is created, if you change the default_result or heartbeat_timeout then it will not be reflected on ASG, only the state file updated.

Versions

Code

initial_lifecycle_hooks = [
    {
      name                  = "ScaleINLifeCycleHook"
      default_result        = "CONTINUE"
      heartbeat_timeout     = "180"
      lifecycle_transition  = "autoscaling:EC2_INSTANCE_LAUNCHING"
    }
  ]

Steps to reproduce the behavior:

Expected behavior

Actual behavior

Thanks

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] commented 1 year ago

This issue was automatically closed because of stale in 10 days

github-actions[bot] commented 1 year ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.