[Bug]: changes to initial_lifecycle_hook block of ASG does not force replacement #34178
Labels
bug
Addresses a defect in current functionality.
service/autoscaling
Issues and PRs that pertain to the autoscaling service.
Milestone
Terraform Core Version
1.3.6
AWS Provider Version
5.23.1
Affected Resource(s)
Expected Behavior
When attempting to update
initial_lifecycle_hook
attribute likeheartbeat_timeout
in an auto scaling group, I would expect thataws_autoscaling_group
to be replaced, as to apply expected hook configuration.Actual Behavior
Terraform plan produces an inline update for
aws_autoscaling_group
with creating a new hook and deleting old hook, which actually does nothing as the hook block is only intended for create phase of ASG.Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
terraform apply
heartbeat_timeout
value to 40terraform apply
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
#4714
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: