[Enhancement]: Attribute arn_without_revision on aws_ecs_task_definition #27119
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/ecs
Issues and PRs that pertain to the ecs service.
Milestone
Description
I think this is highly useful if you are in an environment where you always want to use the latest active revision of a task definition. Per documentation, removing the revision number from the ARN of a task definition makes AWS use the latest, active revision of that task definition.
Assume you have a
aws_task_definition.this
defined somewhere else with full ARNarn:aws:ecs:eu-central-1:000000000000:task-definition/my-task-def:42
. To make AWS use the latest active revision, one has to do that in terraform:With my proposed change, one could do it like this:
Affected Resource(s) and/or Data Source(s)
Potential Terraform Configuration
No response
References
No response
Would you like to implement a fix?
Yes
The text was updated successfully, but these errors were encountered: