Skip to content

Instantly share code, notes, and snippets.

@marrobi
Created January 26, 2017 17:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marrobi/5ccf8ecc5ab0810ee425ed9cbdf27c52 to your computer and use it in GitHub Desktop.
Save marrobi/5ccf8ecc5ab0810ee425ed9cbdf27c52 to your computer and use it in GitHub Desktop.
Security Group Definition
"InstanceSecurityGroup": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "Enable SSH access via port 22",
"SecurityGroupIngress": [
{
"IpProtocol": "tcp",
"FromPort": "22",
"ToPort": "22",
"CidrIp": { "Ref": "SSHLocation" }
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment