This commit is contained in:
dzikafoczka 2024-12-21 22:38:34 +01:00
parent 24b22d36ba
commit d217b55796

2
ec2.py
View File

@ -269,7 +269,7 @@ def create_s3_bucket(s3_client, bucket_name):
return bucket_name
def upload_file_to_s3(s3_client, bucket_name, folder_path):
def upload_files_to_s3(s3_client, bucket_name, folder_path):
for root, dirs, files in os.walk(folder_path):
for file in files:
file_path = os.path.join(root, file)