Skip to content

Instantly share code, notes, and snippets.

@AndrewBestbier
Created March 5, 2020 14:07
Show Gist options
  • Save AndrewBestbier/85f8e02af4c86e0b6d791b4861b7e58a to your computer and use it in GitHub Desktop.
Save AndrewBestbier/85f8e02af4c86e0b6d791b4861b7e58a to your computer and use it in GitHub Desktop.
InstanceSecurityGroup:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: Letting HTTP into our instance
VpcId: !Ref VPC
SecurityGroupIngress:
- FromPort: 80
IpProtocol: tcp
ToPort: 80
SourceSecurityGroupId: !Ref ApplicationLoadBalancerSecurityGroup # (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment