File tree 2 files changed +3
-1
lines changed
collector/spot-dataset/azure/lambda/current_collector
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 27
27
- name : Zip Lambda function code
28
28
run : |
29
29
rm -f azure_sps_lambda.zip
30
- zip -j azure_sps_lambda.zip \
30
+ zip -j ./collector/spot-dataset/azure/lambda/current_collector/ azure_sps_lambda.zip \
31
31
./collector/spot-dataset/azure/lambda/current_collector/load_price.py \
32
32
./collector/spot-dataset/azure/lambda/current_collector/upload_data.py \
33
33
./collector/spot-dataset/azure/lambda/current_collector/lambda_function_sps.py \
Original file line number Diff line number Diff line change @@ -401,6 +401,7 @@ def initialize_sps_shared_resources():
401
401
SS_Resources .found_invalid_region_retry_count = 0
402
402
SS_Resources .found_invalid_instance_type_retry_count = 0
403
403
404
+
404
405
def save_tmp_files_to_s3 ():
405
406
files_to_upload = {
406
407
AZURE_CONST .INVALID_REGIONS_JSON_FILENAME : SS_Resources .invalid_regions_tmp ,
@@ -460,6 +461,7 @@ def get_variable_from_s3():
460
461
print (f"Error loading files from S3: { e } " )
461
462
return False
462
463
464
+
463
465
def collect_regions_and_instance_types_df_by_priceapi ():
464
466
"""
465
467
이 메서드는 Price API를 호출하여 region 및 instance_type 데이터를 가져옵니다.
You can’t perform that action at this time.
0 commit comments