UPD: Increased sleep wait
This commit is contained in:
@@ -3,11 +3,10 @@
|
||||
S3 Batch Restore Script
|
||||
Restores objects from S3 Glacier Deep Archive using AWS S3 Batch Operations.
|
||||
|
||||
Generate objectlist.csv with the following script:
|
||||
|
||||
BUCKET=whk1-bea-icc-mbk-prd-s3-log-infra-log
|
||||
PREFIX=elb/alb-icc-mbk/AWSLogs/851239346925/elasticloadbalancing/ap-east-1/2025/08/11/
|
||||
aws s3 ls s3://$BUCKET/$PREFIX | awk "{print \"$BUCKET,$PREFIX\"\$NF}" | tee /tmp/objectlist.csv
|
||||
# Generate objectlist.csv with the following script:
|
||||
# BUCKET=whk1-bea-icc-mbk-prd-s3-log-infra-log
|
||||
# PREFIX=elb/alb-icc-mbk/AWSLogs/851239346925/elasticloadbalancing/ap-east-1/2025/08/11/
|
||||
# aws s3 ls s3://$BUCKET/$PREFIX | awk "{print \"$BUCKET,$PREFIX\"\$NF}" | tee /tmp/objectlist.csv
|
||||
"""
|
||||
|
||||
import sys
|
||||
@@ -229,7 +228,7 @@ def main():
|
||||
)
|
||||
|
||||
# Wait a bit before approving
|
||||
time.sleep(5)
|
||||
time.sleep(10)
|
||||
|
||||
# Approve job
|
||||
print(f"Approving submitted job {job_id}...")
|
||||
|
||||
Reference in New Issue
Block a user