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.61k stars 9k forks source link

[Enhancement]: Updating capacity providers in an ECS service shouldn't require recreation #37848

Open dotanrs opened 1 month ago

dotanrs commented 1 month ago

Description

I have an ECS service managed by terraform. I noticed that when updating the resource's capacity provider strategy, terraform wants to recreate the service. However the service can be modified in the console or via the CLI without recreation.

Affected Resource(s) and/or Data Source(s)

aws_ecs_service

Potential Terraform Configuration

capacity_provider_strategy = [{
    capacity_provider = "FARGATE"
    base = "1"
    weight = "1"
  }]

References

No response

Would you like to implement a fix?

No

github-actions[bot] commented 1 month ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

justinretzolk commented 4 weeks ago

Related #22823 Related #22408