[Bug]: aws_auto_scalinggroup.instance_refresh.auto_rollback fails #29830
Labels
bug
Addresses a defect in current functionality.
service/autoscaling
Issues and PRs that pertain to the autoscaling service.
Terraform Core Version
1.3.7
AWS Provider Version
4.57.0
Affected Resource(s)
Expected Behavior
An instance-refresh is initiated
Unhealthy
(as in, set-instance-health)Actual Behavior
An API-side error:
(
I think this makes sense; the autoscaling_group.instance_refresh provider docs state:
Upstream API documentation "undo an instance-refresh" suggests there're parameters that need to be passed when starting the instance-refresh, that when I looked into the 4.57.0 tag, are not.
I think/hope this would be addressable by adding to the request-builder the part that is necessary when auto-rollback == true. I think terraform could reasonably set "desired_configuration.launch_template.version" to the before-apply version as the thing to roll back to.
)
Relevant Error/Panic Output Snippet
No response
Terraform Configuration Files
Steps to Reproduce
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: