hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.81k stars 9.16k forks source link

[Bug]: Adding capacity_provider_strategy leads to removal of autoscaling policy targets #39636

Open Renkas opened 2 weeks ago

Renkas commented 2 weeks ago

Terraform Core Version

1.5.6

AWS Provider Version

5.18.1

Affected Resource(s)

Everything is detailed in that issue: https://github.com/hashicorp/terraform-provider-aws/issues/14615

I'm not sure why are actual bugs being closed without a fix?

Expected Behavior

it should work

Actual Behavior

yoiu need to apply twice

Relevant Error/Panic Output Snippet

No response

Terraform Configuration Files

ffs

Steps to Reproduce

stop with these

Debug Output

No response

Panic Output

No response

Important Factoids

No response

References

No response

Would you like to implement a fix?

None

github-actions[bot] commented 2 weeks ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 1 week ago

Hey @Renkas 👋 Thank you for taking the time to raise this! As far as why the previous issue was closed, we do so in order to ensure that the most relevant issues are kept open. Oftentimes, something will be reported as a bug that is, in actuality, a configuration issue. Other times, a bug will be fixed by a later release, but the reporting issue isn't closed for a multitude of reasons. Without some mechanism to close these issues, our backlog would continue to grow and distract from more relevant items. On the flip side of that, we definitely don't want to close actual issues, like you said. To avoid that, we wait until issues have had 2 full years with no interaction at all before the issue enters into the "stale" process that's described in the bot comments on the linked issue. We feel this strikes a balance, and gives ample opportunity for anyone involved to interact with the issue in a way that would keep it open.

Looking at the linked issue, I suspect this is something that could be resolved by a configuration update, but there's some relevant information that I'm missing that I'm hoping you can provide me.

Renkas commented 1 week ago

I would need to create isolated test case to provide this to you. I really do not have time for this in the near future :( Sharing actual production config does not seem lika a good idea.

Isn't there enough details in the linked issue? It seems pretty similar to what we are doing.

justinretzolk commented 1 week ago

Hey @Renkas 👋 Totally understand that. Even just confirming that you're doing something similar should help whoever ends up picking this up, so thank you for the additional details nonetheless!