-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
r/aws_autoscaling_attachment: Remove deprecated parameter alb_target_group_arn
#22904
Comments
Hey, I just went through the process of moving to the non-deprecated attribute today, and found it was relatively involved. If you just update the attribute name, Terraform wants to destroy/recreate the resource. I ended up having to edit our Terraform state files by hand to avoid temporarily removing the target group attachments. I was wondering if you'd consider adding a state migration for this attribute change to ease the transition for people who are already using this resource. |
Ran into the same issue as @Sinjo above while fixing some noticed deprecations. In a large environment with many load balancers across many deployments manually fixing state in this way is not practical (and could be very error-prone). A state migration would definitely be preferred, but currently |
@Sinjo did you document the steps you took to make this work? I would appreciate some guidance as I am running into the same issue :( |
This should be handled more gracefully. The deprecation tells you to change an argument that triggers replacement. That's not great. |
This functionality has been released in v5.0.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
Description
The
alb_target_group_arn
was deprecated in v4.0 (#22662) to help users migrate to the new argumentlb_target_group_arn
.alb_target_group_arn
should therefore be removed in the next major version.The text was updated successfully, but these errors were encountered: