Dormeto

Docs

dormeto aws operations

The manager's operations: listed, shown step by step, or followed to their end.

1 min read

operations list

Lists the operations, newest first.

dormeto aws operations list [--running] [--type <type>]... [--limit <n>]
OptionValuesDefaultEffect
--running——Operations still running.
--typetypes such as onboard, offboard, install-router, upgrade-router, uninstall-router, exclude, lift-exclusion or update-manager, comma-separated or repeatedallOperations of these types.
--limita number50The newest, at most; 0 for all.
dormeto aws operations list

Table

ID                                    TYPE            TARGET                  STATUS     STEP           BY               AGE
5b1e7c42-9d3a-4e8f-a6b2-0c4d8e1f3a57  onboard         api-tg                  running    onboard        ops@example.com  2m
9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73  offboard        prod-eu/admin           succeeded  candidate      ops@example.com  20m
e4a7c913-2f5b-4d86-b0c1-7a9e3d5f2b18  upgrade-router  111122223333/eu-west-1  succeeded  verify router  ops@example.com  1d

JSON

{
  "operations": [
    {
      "id": "5b1e7c42-9d3a-4e8f-a6b2-0c4d8e1f3a57",
      "type": "onboard",
      "status": "running",
      "target": {
        "account": "111122223333",
        "region": "eu-west-1",
        "targetGroupArn": "arn:aws:elasticloadbalancing:eu-west-1:111122223333:targetgroup/api-tg/6d0ecf831eec9f09",
        "cloud": "aws"
      },
      "steps": [
        {
          "name": "find router",
          "status": "done"
        },
        {
          "name": "preview",
          "status": "done"
        },
        {
          "name": "onboard",
          "status": "running"
        }
      ],
      "by": "ops@example.com",
      "createdAt": "2026-11-14T09:58:00.000Z",
      "updatedAt": "2026-11-14T09:59:30.000Z"
    },
    {
      "id": "9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73",
      "type": "offboard",
      "status": "succeeded",
      "target": {
        "router": "prod-eu",
        "account": "111122223333",
        "region": "eu-west-1",
        "workloadId": "admin",
        "cloud": "aws"
      },
      "steps": [
        {
          "name": "locate",
          "status": "done",
          "startedAt": "2026-11-14T09:40:00.000Z",
          "finishedAt": "2026-11-14T09:40:10.000Z",
          "attempts": 1
        },
        {
          "name": "slot",
          "status": "done",
          "startedAt": "2026-11-14T09:40:15.000Z",
          "finishedAt": "2026-11-14T09:40:25.000Z",
          "attempts": 1
        },
        {
          "name": "lock load balancer",
          "status": "done",
          "startedAt": "2026-11-14T09:40:30.000Z",
          "finishedAt": "2026-11-14T09:40:40.000Z",
          "attempts": 1
        },
        {
          "name": "pause",
          "status": "done",
          "startedAt": "2026-11-14T09:40:45.000Z",
          "finishedAt": "2026-11-14T09:40:55.000Z",
          "attempts": 1
        },
        {
          "name": "wait awake",
          "status": "done",
          "startedAt": "2026-11-14T09:41:00.000Z",
          "finishedAt": "2026-11-14T09:41:10.000Z",
          "attempts": 1
        },
        {
          "name": "offboard",
          "status": "done",
          "startedAt": "2026-11-14T09:41:15.000Z",
          "finishedAt": "2026-11-14T09:41:25.000Z",
          "attempts": 1
        },
        {
          "name": "candidate",
          "status": "done",
          "startedAt": "2026-11-14T09:41:30.000Z",
          "finishedAt": "2026-11-14T09:41:40.000Z",
          "attempts": 1
        }
      ],
      "by": "ops@example.com",
      "createdAt": "2026-11-14T09:40:00.000Z",
      "updatedAt": "2026-11-14T09:41:40.000Z",
      "finishedAt": "2026-11-14T09:41:40.000Z"
    },
    {
      "id": "e4a7c913-2f5b-4d86-b0c1-7a9e3d5f2b18",
      "type": "upgrade-router",
      "status": "succeeded",
      "target": {
        "account": "111122223333",
        "region": "eu-west-1",
        "cloud": "aws"
      },
      "steps": [
        {
          "name": "find router",
          "status": "done"
        },
        {
          "name": "verify router",
          "status": "done"
        }
      ],
      "by": "ops@example.com",
      "createdAt": "2026-11-12T16:00:00.000Z",
      "updatedAt": "2026-11-12T16:06:20.000Z",
      "finishedAt": "2026-11-12T16:06:20.000Z"
    }
  ]
}
  • A who that is an ARN shows its last two parts.

operations show

Shows an operation, then its steps.

dormeto aws operations show <id>
OptionValuesDefaultEffect
<id>an operation's IDrequiredThe operation.
dormeto aws operations show 9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73

Table

id        9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73
type      offboard
target    prod-eu/admin
status    succeeded
by        ops@example.com
created   2026-11-14 09:40 UTC
updated   2026-11-14 09:41 UTC
finished  2026-11-14 09:41 UTC

STEP                STATUS  TOOK  DETAIL
locate              done    10s
slot                done    10s
lock load balancer  done    10s
pause               done    10s
wait awake          done    10s
offboard            done    10s
candidate           done    10s

JSON

{
  "id": "9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73",
  "type": "offboard",
  "status": "succeeded",
  "target": {
    "router": "prod-eu",
    "account": "111122223333",
    "region": "eu-west-1",
    "workloadId": "admin",
    "cloud": "aws"
  },
  "input": {
    "router": "prod-eu",
    "account": "111122223333",
    "region": "eu-west-1",
    "workloadId": "admin"
  },
  "steps": [
    {
      "name": "locate",
      "status": "done",
      "startedAt": "2026-11-14T09:40:00.000Z",
      "finishedAt": "2026-11-14T09:40:10.000Z",
      "attempts": 1
    },
    {
      "name": "slot",
      "status": "done",
      "startedAt": "2026-11-14T09:40:15.000Z",
      "finishedAt": "2026-11-14T09:40:25.000Z",
      "attempts": 1
    },
    {
      "name": "lock load balancer",
      "status": "done",
      "startedAt": "2026-11-14T09:40:30.000Z",
      "finishedAt": "2026-11-14T09:40:40.000Z",
      "attempts": 1
    },
    {
      "name": "pause",
      "status": "done",
      "startedAt": "2026-11-14T09:40:45.000Z",
      "finishedAt": "2026-11-14T09:40:55.000Z",
      "attempts": 1
    },
    {
      "name": "wait awake",
      "status": "done",
      "startedAt": "2026-11-14T09:41:00.000Z",
      "finishedAt": "2026-11-14T09:41:10.000Z",
      "attempts": 1
    },
    {
      "name": "offboard",
      "status": "done",
      "startedAt": "2026-11-14T09:41:15.000Z",
      "finishedAt": "2026-11-14T09:41:25.000Z",
      "attempts": 1
    },
    {
      "name": "candidate",
      "status": "done",
      "startedAt": "2026-11-14T09:41:30.000Z",
      "finishedAt": "2026-11-14T09:41:40.000Z",
      "attempts": 1
    }
  ],
  "cursor": 7,
  "holds": {
    "locks": [],
    "slots": []
  },
  "activeKey": "",
  "context": {},
  "by": "ops@example.com",
  "createdAt": "2026-11-14T09:40:00.000Z",
  "updatedAt": "2026-11-14T09:41:40.000Z",
  "finishedAt": "2026-11-14T09:41:40.000Z"
}
  • Times are in your time zone.

operations watch

Follows an operation to its end.

dormeto aws operations watch <id> [--timeout <duration>]
OptionValuesDefaultEffect
<id>an operation's IDrequiredThe operation.
--timeouta duration1hStops waiting; the work goes on.
dormeto aws operations watch 9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73

Table

✓ prod-eu/admin: offboard succeeded in 1m40s

JSON

{
  "id": "9c2d4f61-3b8a-4c7e-9f15-2a6e0d8b4c73",
  "type": "offboard",
  "status": "succeeded",
  "target": {
    "router": "prod-eu",
    "account": "111122223333",
    "region": "eu-west-1",
    "workloadId": "admin",
    "cloud": "aws"
  },
  "input": {
    "router": "prod-eu",
    "account": "111122223333",
    "region": "eu-west-1",
    "workloadId": "admin"
  },
  "steps": [
    {
      "name": "locate",
      "status": "done",
      "startedAt": "2026-11-14T09:40:00.000Z",
      "finishedAt": "2026-11-14T09:40:10.000Z",
      "attempts": 1
    },
    {
      "name": "slot",
      "status": "done",
      "startedAt": "2026-11-14T09:40:15.000Z",
      "finishedAt": "2026-11-14T09:40:25.000Z",
      "attempts": 1
    },
    {
      "name": "lock load balancer",
      "status": "done",
      "startedAt": "2026-11-14T09:40:30.000Z",
      "finishedAt": "2026-11-14T09:40:40.000Z",
      "attempts": 1
    },
    {
      "name": "pause",
      "status": "done",
      "startedAt": "2026-11-14T09:40:45.000Z",
      "finishedAt": "2026-11-14T09:40:55.000Z",
      "attempts": 1
    },
    {
      "name": "wait awake",
      "status": "done",
      "startedAt": "2026-11-14T09:41:00.000Z",
      "finishedAt": "2026-11-14T09:41:10.000Z",
      "attempts": 1
    },
    {
      "name": "offboard",
      "status": "done",
      "startedAt": "2026-11-14T09:41:15.000Z",
      "finishedAt": "2026-11-14T09:41:25.000Z",
      "attempts": 1
    },
    {
      "name": "candidate",
      "status": "done",
      "startedAt": "2026-11-14T09:41:30.000Z",
      "finishedAt": "2026-11-14T09:41:40.000Z",
      "attempts": 1
    }
  ],
  "cursor": 7,
  "holds": {
    "locks": [],
    "slots": []
  },
  "activeKey": "",
  "context": {},
  "by": "ops@example.com",
  "createdAt": "2026-11-14T09:40:00.000Z",
  "updatedAt": "2026-11-14T09:41:40.000Z",
  "finishedAt": "2026-11-14T09:41:40.000Z"
}
  • Its steps print on stderr as they change.
  • It ends with exit 1 when the operation fails, or on a timeout.
  • A failed step prints its detail. Ctrl-C stops following, not the operation.