Skip to content

Add support for managed_draining for capacity provider #235

@vjancich

Description

@vjancich

Is your request related to a new offering from AWS?

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions