Skip to content

Misleading error message on waiting for task to start if the runner doesn't have permissions ecs:DescribeTasks #35

@mmuarc

Description

@mmuarc

Hello,

I've been banging my head against the wall for a while because of this issue.

If the runner doesn't have ecs:DescribeTasks permissions, the action errors out with a timeout on the Start timer.

I suppose it's because the waiter is intended to hide exceptions so that if it can't reach to check for the state it simply keeps trying until the timeout happens. The error message you get is: Task did not start successfully. Error: {"state":"TIMEOUT","reason":"Waiter has timed out"}. even when the task runs nicely and finishes.

I checked the code and saw you are using a command by the aws sdk. So digging a bit I figured this could be the issue.

In case you can't do much to fix this on your side, it would be great for the next person if you could add this behavior to the documentation.

Thank you very much for your work!

Mmuarc

PS: On a side note, the marketplace documentation is not updated with the latest version and some property names aren't aligned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions