Terminating an Instance is not Working #2429
Answered
by
Kemprateek03
Kemprateek03
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Kemprateek03
Mar 28, 2023
Replies: 1 comment 1 reply
-
Hi @Kemprateek03: Thanks for reaching out. It would help us if you could provide us a bit more information on this issue. Is this happening locally, or on Azure?
Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey David, I got the fix for this solution.
It seems I was missing await while calling the
client.terminate(instance_id,reason).
The Microsoft documentation seemed to just have client.terminate(instance_id,reason), instead of
await client.terminate(instance_id,reason) which caused this issue.
Thanks for your response and appreciate it.