test
This commit is contained in:
parent
24b22d36ba
commit
d217b55796
2
ec2.py
2
ec2.py
@ -269,7 +269,7 @@ def create_s3_bucket(s3_client, bucket_name):
|
|||||||
|
|
||||||
return 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 root, dirs, files in os.walk(folder_path):
|
||||||
for file in files:
|
for file in files:
|
||||||
file_path = os.path.join(root, file)
|
file_path = os.path.join(root, file)
|
||||||
|
Loading…
Reference in New Issue
Block a user