Skip to content

Terminating an Instance is not Working #2429

Answered by Kemprateek03
Kemprateek03 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Kemprateek03
Comment options

Answer selected by davidmrdavid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants