[Bug]: Provider produced inconsistent final plan, migrating from launch config to launch template #39119
Labels
bug
Addresses a defect in current functionality.
service/autoscaling
Issues and PRs that pertain to the autoscaling service.
Terraform Core Version
1.8.3
AWS Provider Version
5.65.0
Affected Resource(s)
aws_autoscaling_group
Expected Behavior
Existing autoscaling group updated to use launch template instead of launch configuration
Actual Behavior
Terraform fails on first apply with the error below, 2nd apply goes through fine. Works as expected with provider 4.67.0
Relevant Error/Panic Output Snippet
Terraform Configuration Files
Old module:
New module:
Steps to Reproduce
Create a asg with launch config applied, apply, create launch template and replace launch config with launch template. Results in a bug above. Same steps with provider 4.67 go through with no issues.
Debug Output
No response
Panic Output
No response
Important Factoids
No response
References
No response
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: