Properly handle ResourceNotReady returned by WaitUntilTasksRunningWithContext #4637
Unanswered
mieliespoor
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hi @mieliespoor , I don't see your actual code so this is just some speculation.
If you could add a concise runnable code snippet, I'll take a closer look. Thanks, |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What would be the best way to handle a ResourceNotReady error response from
WaitUntilTasksRunningWithContext
?aws-sdk-go/service/ecs/waiters.go
Line 140 in d9ed7d6
I have noticed that the task does start and appear in the AWS Console, but we get a resource not ready error returned here. Would changing the WaitingOption have any impact here? I doubt it looking at it. Should a simple retry happen after waiting for a couple of seconds?
What would the best approach be here?
Beta Was this translation helpful? Give feedback.
All reactions