Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jvanschaack on github.
  • I am infested (https://keybase.io/infested) on keybase.
  • I have a public key ASD8005V0WC2W89TbF2YtbyJrovFaw-Y687GsffroYWExwo

To claim this, I am signing this object:

@jvanschaack
jvanschaack / security-group-cleanup.py
Created March 9, 2018 23:15 — forked from TomRyan-321/security-group-cleanup.py
Security Group Cleanup using boto3 with RDS check fixed
#!/usr/bin/env python
import boto3
import argparse
def lookup_by_id(sgid):
sg = ec2.get_all_security_groups(group_ids=sgid)
return sg[0].name
### Keybase proof
I hereby claim:
* I am jvanschaack on github.
* I am infested (https://keybase.io/infested) on keybase.
* I have a public key ASC3klCipswjMK8BQcMsomQSoEi2pcavnLqgA5lpAydQQAo
To claim this, I am signing this object: