-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
[Enhancement]: ECS Task Definitions now supports deletion #29682
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Here's my thoughts. I'm nobody, so take them for what they're worth :D
|
This feature would be a partial mitigation to #11526 Terraform forcing replacement of ECS task definition |
Description
I haven't found the official AWS announcement yet, but it appears ECS rolled out a Delete Task Definitions API for ECS (finally). The AWS ECS Console has also been updated.
Per the documentation, deletion requires the task definition to be deregistered first.
I don't think this feature has hit the aws-go-sdk yet, but I believe it will require some discussion before implementing as it could introduce a breaking change. I've listed a few ways in the Potential Terraform Configuration section that would be both opt-in and useful to me.
Affected Resource(s) and/or Data Source(s)
aws_ecs_task_definition
Potential Terraform Configuration
References
https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_DeleteTaskDefinitions.html
aws/containers-roadmap#685 (comment)
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: