diff --git a/ec2.py b/ec2.py index 5045b4f..014b1ed 100644 --- a/ec2.py +++ b/ec2.py @@ -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)