Skip to content

Instantly share code, notes, and snippets.

View WillHoule's full-sized avatar

Will WillHoule

  • Amazon Web Services @aws
  • Herndon, Virginia
View GitHub Profile
@WillHoule
WillHoule / dynamic_aws_sg_access.sh
Created April 19, 2017 01:51 — forked from ProgrammingAce/dynamic_aws_sg_access.sh
Create/modify security group to allow port 22
#!/usr/bin/env bash
# MIT Licence applies, except if you modify this script you agree to the following terms:
# Don't use `set -e`, you're not an animal. Trap your errors.
# Don't use uppercase for variables that aren't inherited from the environment.
# Use 'echo -e' by default because science.
# Terminate lines with semicolons because voodoo.
# Quote your variable interpolations just about everywhere.
# This script takes the name of an AWS security group: