-
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
Migrating to ordered_placement_strategy forces a new resource #4557
Comments
Hi @icco 👋 sorry you are running into trouble here and thanks for reporting it. Can you share the
We might need to customize the difference when converting. |
I'll get the output when I'm at work tomorrow, but yes, that's what's
happening
|
An example service that would be affected:
|
@bflad what's the possibility of this getting fixed and/or the timeline for placement_strategy going away? I'm worried about us having to pin our version of aws in case it goes away without a fix being in place. |
I am having this issue too, when upgrade aws provider and using placement_strategy. |
We also have this issue. Originally I thought it was because the placement order changed, but we kept the order the same and it still forced a new service resource. |
Hi Folks 👋 Apologies that this was never addressed properly in the version 1.X releases after the change and before version 2.0.0. 😖 We are still working on proper documentation for the process of deprecating attributes, which looks like it will require some additional notes surrounding Luckily, when upgrading your environments to version 2.0.0 (releasing later this week) or later, the Again, sorry for the hassle with this deprecation. We can certainly do better here and will continue to try and prevent these sort of upgrade problems in the future for the Terraform AWS Provider and other Terraform Providers as well. |
@bflad I just tried this with 2.0.0 and it's still trying to recreate the service. This is a huge problem for us:
|
@bflad this is happening for us too in the latest version 2.0.0 |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Terraform Version
Affected Resource(s)
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Changing
placement_strategy
toordered_placement_strategy
would cause no diff in plan.Actual Behavior
Every service we have using this module needs to be recreated.
Steps to Reproduce
terraform apply
placement_strategy
toordered_placement_strategy
terraform plan
Important Factoids
References
The text was updated successfully, but these errors were encountered: