You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
File "/Users/zongheng/Dropbox/workspace/riselab/sky-computing/sky/resources.py", line 1223, in _from_yaml_config_single
return Resources(**resources_fields)
File "/Users/zongheng/Dropbox/workspace/riselab/sky-computing/sky/resources.py", line 206, in __init__
self._try_validate_image_id()
File "/Users/zongheng/Dropbox/workspace/riselab/sky-computing/sky/resources.py", line 819, in _try_validate_image_id
image_size = self.cloud.get_image_size(image_id, region)
File "/Users/zongheng/Dropbox/workspace/riselab/sky-computing/sky/clouds/aws.py", line 262, in get_image_size
image_info = image_info['Images'][0]
IndexError: list index out of range
Changing AMI id to -1234 shows this error correctly:
ValueError: Image 'ami-1234' not found in AWS region us-west-2.
To find AWS AMI IDs: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-images.html#examples
Example: ami-0729d913a335efca7
The text was updated successfully, but these errors were encountered:
commit 9d05415
Repro (from a user, so this is likely a private image)
sky launch test.yaml
showsChanging AMI id to
-1234
shows this error correctly:The text was updated successfully, but these errors were encountered: