Skip to content

Instantly share code, notes, and snippets.

MrRaph_ MrRaph

Block or report user

Report or block MrRaph

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@MrRaph
MrRaph / bootstrap_salt.sh
Created Jul 23, 2018
Trying to fixe bootstrap_salt.sh as it doesn't work with Amazon Linux 2
View bootstrap_salt.sh
#!/bin/sh -
#======================================================================================================================
# vim: softtabstop=4 shiftwidth=4 expandtab fenc=utf-8 spell spelllang=en cc=120
#======================================================================================================================
#
# FILE: bootstrap-salt.sh
#
# DESCRIPTION: Bootstrap Salt installation for various systems/distributions
#
# BUGS: https://github.com/saltstack/salt-bootstrap/issues
@MrRaph
MrRaph / security-group-cleanup.py
Last active Nov 19, 2018 — forked from TomRyan-321/security-group-cleanup.py
Security Group Cleanup using boto3 with RDS check fixed
View security-group-cleanup.py
#!/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
You can’t perform that action at this time.