Skip to content

Instantly share code, notes, and snippets.

@jonathanwcrane
jonathanwcrane / mpu.py
Last active September 26, 2020 22:52
Find failed multipart uploads in all buckets in a region
#!/usr/bin/env python
#inventory of all multipart uploads in a region
import boto3
import os
#Not sure this applies here but keeping just in case
region = "us-east-1"
#The profile to use in the credentials or boto.config file, if used
profile_nm = 'foo'