terraform-aws-ecs icon indicating copy to clipboard operation
terraform-aws-ecs copied to clipboard

Add support for managed_draining for capacity provider

Open vjancich opened this issue 1 year ago β€’ 3 comments

Is your request related to a new offering from AWS?

Is this functionality available in the AWS provider for Terraform? See CHANGELOG.md, too.

  • Yes βœ…: please list the AWS provider version which introduced this functionality Introduced with provider version 5.34.0: https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.34.0

Is your request related to a problem? Please describe.

We want to enable AWS managed ECS draining for our ECS clusters. For new capacity providers, this is enabled by default but for existing it needs to be explicitely enabled.

Describe the solution you'd like.

Add managed_draining property into aws_ecs_capacity_provider resource.

Additional context

AWS announcement: https://aws.amazon.com/about-aws/whats-new/2024/01/amazon-ecs-managed-instance-draining/ Terraform docs: https://registry.terraform.io/providers/hashicorp/aws/5.70.0/docs/resources/ecs_capacity_provider#managed_draining

vjancich avatar Oct 09 '24 08:10 vjancich

So I had thought that someone had made an issue already and implemented this via https://github.com/terraform-aws-modules/terraform-aws-ecs/issues/174 problem is I don't know the process here and am wondering when this update is getting pushed out for this module. I've been waiting for this update as well.

vinfang avatar Oct 18 '24 19:10 vinfang

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] avatar Nov 18 '24 00:11 github-actions[bot]

Still needed, don't close.

vjancich avatar Nov 18 '24 13:11 vjancich

This issue has been resolved in version 6.0.0 :tada:

antonbabenko avatar Jul 07 '25 12:07 antonbabenko

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

github-actions[bot] avatar Aug 07 '25 02:08 github-actions[bot]