-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
changes to initial_lifecycle_hook block of ASG aren't triggering a recreate #4714
Comments
Marking this issue as stale due to inactivity. This helps our maintainers find and focus on the active issues. If this issue receives no comments in the next 30 days it will automatically be closed. Maintainers can also remove the stale label. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you! |
I just encountered this today too, so I wouldn't calling this stale. Deleting the hook from aws web console and then doing a terraform apply does nothing too. |
Hey, i've just encountered the same issue on my end and got around it by tainting the ASG. |
This functionality has been released in v4.8.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Community Note
Terraform Version
Terraform v0.11.3
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
When attempting to set/update a initial_lifecycle_hook in an existing auto scaling group, I would expect that ASG to be recreated, as to apply said hook configuration.
Actual Behavior
A Terraform plan produces an inline update for the hook configuration, which actually does nothing, as this block is only intended for newly created ASGs.
Steps to Reproduce
terraform apply
itterraform plan
produces an inline update, and applying it results in nothing getting done.The text was updated successfully, but these errors were encountered: