From 3042a27a496dbd36a5234cfe646909a9e7bc9ad6 Mon Sep 17 00:00:00 2001 From: Yika Date: Thu, 17 Oct 2024 19:02:41 -0700 Subject: [PATCH] Disable AWS images.csv refreshing (#4116) --- sky/clouds/service_catalog/data_fetchers/fetch_aws.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sky/clouds/service_catalog/data_fetchers/fetch_aws.py b/sky/clouds/service_catalog/data_fetchers/fetch_aws.py index e0e5ffa21a1..b630123648e 100644 --- a/sky/clouds/service_catalog/data_fetchers/fetch_aws.py +++ b/sky/clouds/service_catalog/data_fetchers/fetch_aws.py @@ -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()