Skip to content

Instantly share code, notes, and snippets.

View cinderellagarage's full-sized avatar

Matt Poirier cinderellagarage

View GitHub Profile
@cinderellagarage
cinderellagarage / snapshots.py
Created May 18, 2017 15:19 — forked from Eyjafjallajokull/README.md
AWS EBS - Find unused snapshots - this script generates csv raport about snapshot usage
import re
import boto3
import csv
from botocore.exceptions import ClientError
ec2 = boto3.client('ec2')
def get_snapshots():
return ec2.describe_snapshots(OwnerIds=['self'])['Snapshots']

Keybase proof

I hereby claim:

  • I am cinderellagarage on github.
  • I am mpoirier (https://keybase.io/mpoirier) on keybase.
  • I have a public key ASAxsNuGmyIUFF5mxHX6Rwy6_jpZm4ujOB62ZZsXPi95KQo

To claim this, I am signing this object: