Skip to content

Commit

Permalink
Disable AWS images.csv refreshing (#4116)
Browse files Browse the repository at this point in the history
  • Loading branch information
yika-luo authored Oct 18, 2024
1 parent 92fd109 commit 3042a27
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions sky/clouds/service_catalog/data_fetchers/fetch_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,11 +538,13 @@ def _check_regions_integrity(df: 'pd.DataFrame', name: str):
instance_df.to_csv('aws/vms.csv', index=False)
print('AWS Service Catalog saved to aws/vms.csv')

image_df = get_all_regions_images_df(user_regions)
_check_regions_integrity(image_df, 'images')
# Disable refreshing images.csv as we are using skypilot custom AMIs
# See sky/clouds/service_catalog/images/README.md for more details.
# image_df = get_all_regions_images_df(user_regions)
# _check_regions_integrity(image_df, 'images')

image_df.to_csv('aws/images.csv', index=False)
print('AWS Images saved to aws/images.csv')
# image_df.to_csv('aws/images.csv', index=False)
# print('AWS Images saved to aws/images.csv')

if args.az_mappings:
az_mappings_df = fetch_availability_zone_mappings()
Expand Down

0 comments on commit 3042a27

Please sign in to comment.