Update desktop_env/providers/aws/provider.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -145,7 +145,7 @@ class AWSProvider(Provider):
|
||||
logger.info(f"New instance {new_instance_id} launched from snapshot {snapshot_name}.")
|
||||
logger.info(f"Waiting for instance {new_instance_id} to be running...")
|
||||
ec2_client.get_waiter('instance_running').wait(InstanceIds=[new_instance_id])
|
||||
# waite 60 seconds for the instance to be ready
|
||||
# wait 60 seconds for the instance to be ready
|
||||
time.sleep(60)
|
||||
logger.info(f"Instance {new_instance_id} is ready.")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user