Score:0

AWS ECS task definition revision date and time

es flag

I want to know when task definition revisions have been made.
When I run this command

aws ecs describe-task-definition --region us-east-1 --task-definition my_task_definition

it gives me the latest revision (in my case #5) and gives me when and who made it ("registeredAt", "registeredBy").

{
    "taskDefinition": {
        "taskDefinitionArn": "arn:aws:ecs:us-east-1:{account_number}:task-definition/my_task_definition:5",
        ...
        "revision": 5,
        "volumes": [],
        "status": "ACTIVE",
        ...
        "cpu": "2048",
        "memory": "4096",
        "registeredAt": "2021-10-14T11:45:59.423000-07:00",
        "registeredBy": "arn:aws:sts::{account_number}:assumed-role/{role_name}"
     }
 }

But when I specify another active revision number - it doesn't give me "registeredAt", "registeredBy" fields for that revision.
For example:

aws ecs describe-task-definition --region us-east-1 --task-definition my_task_definition:4

gives only this:

{
    "taskDefinition": {
        "taskDefinitionArn": "arn:aws:ecs:us-east-1:{account_number}:task-definition/my_task_definition:4",
        ...
        "revision": 4,
        "volumes": [],
        "status": "ACTIVE",
        ...
        "cpu": "2048",
        "memory": "4096"
    }
}

Is there any way to know who and when made a task definition revision prior to the latest number?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.