Skip to content

Instantly share code, notes, and snippets.

@chekkan
Created July 21, 2017 16:40
Show Gist options
  • Save chekkan/023681971729bf944e02c51d25a5a416 to your computer and use it in GitHub Desktop.
Save chekkan/023681971729bf944e02c51d25a5a416 to your computer and use it in GitHub Desktop.
AWS ECS Security Group CloudFormation Template
"EcsSecurityGroup": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "ECS Security Group",
"VpcId": {
"Ref": "VpcId"
},
"SecurityGroupIngress": {
"IpProtocol": "tcp",
"FromPort": "22",
"ToPort": "22",
"CidrIp": "..."
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment