I have a bash script that terminates an Amazon Web Services server. From my Bash script, when I terminate, the instance is terminated. However, the bash script just hangs after that. The last message I receive is: Connection to ec2-52-18-184-121.eu-west-1.compute.amazonaws.com closed by remote host....then the bash script hangs-. Any ideas how I can force progression in the script?
My piece of code which terminates the instances:
ec2-terminate-instances --region $REGION ${attempted_instanceids[@]}
Last Message, which confirm the instance has been terminated...then the script just hangs
Connection to ec2-52-18-184-121.eu-west-1.compute.amazonaws.com closed by remote host.
Aucun commentaire:
Enregistrer un commentaire