AWS CLI - Looping through DMS Migration task ARNs to wait #9195
Replies: 1 comment 1 reply
-
|
In DMS, Waiter ReplicationTaskStopped failed ... matched expected path: "starting" If your goal is “wait until the task finishes the reload and is no longer running”, use the waiter that corresponds to the end state you expect, or poll for the exact desired status. Two correct approaches: Wait for the task to be RUNNING (if you just want to ensure it started): aws dms wait replication-task-running Or, if you want to wait until the reload is completed, poll STATUS=$(aws dms describe-replication-tasks Then loop until STATUS is one of your expected “done” states (commonly In short: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In Github Actions, I tried looping through a list of DMS Migration Tasks (ref by ARN) to check their status using
aws dms wait. But I always getWaiter encountered a terminal failure stateerror.The
runstep on Github Actions looks like this:Beta Was this translation helpful? Give feedback.
All reactions