Skip to content

Instantly share code, notes, and snippets.

View TomRyan-321's full-sized avatar

Tom Ryan TomRyan-321

View GitHub Profile
@TomRyan-321
TomRyan-321 / README-Template.md
Created May 1, 2020 00:25 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@TomRyan-321
TomRyan-321 / security-group-cleanup.py
Last active October 10, 2022 09:38 — forked from lingmann/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