proxy settings

master
rforstner 2022-01-31 09:23:32 +01:00
parent 153d3623e1
commit 36bf63acdb
1 changed files with 2 additions and 2 deletions

View File

@ -278,8 +278,8 @@ if(len(sys.argv) == 2):
s3 = boto3.client('s3') s3 = boto3.client('s3')
with open(outputFolder+"/"+timestamp + "_" +env+'.zip', 'rb') as data: with open(outputFolder+"/"+timestamp + "_" +env+'.zip', 'rb') as data:
s3.upload_fileobj(data, str(os.getenv("AWS_S3_BUCKET"), 'backups/'+timestamp + "_" +env+'.zip') #TODO: Make s3 bucket name configurable over environment variables s3.upload_fileobj(data, str(os.getenv("AWS_S3_BUCKET"), 'backups/'+timestamp + "_" +env+'.zip')) #TODO: Make s3 bucket name configurable over environment variables
print("Finished!") print("Finished!")
sys.exit(0) sys.exit(0)