Answer the question
In order to leave comments, you need to log in
How to restart a machine using terraform?
to such a request
aws ec2 stop-instances --region eu-west-2 --instance-ids i-0мой_айди
An error occurred (InvalidInstanceID.NotFound) when calling the TerminateInstances operation: The instance ID 'i-0мой_айди' does not exist
Answer the question
In order to leave comments, you need to log in
it can be anything - wrong region, wrong account, instances have changed since the last state due to scaling, whatever. It is necessary to check either from the cli or from the aws console what is actually happening there
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question