Created
May 14, 2019 14:31
-
-
Save williamhub/88ae17ac51b4ef73d0b96a08ed754489 to your computer and use it in GitHub Desktop.
ec2 instance security group cloudformation example template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InstanceSecurityGroup: | |
Type: AWS::EC2::SecurityGroup | |
Properties: | |
GroupDescription: Allow traffic from the security group assigned to the load balancer | |
VpcId: !Ref Vpc | |
SecurityGroupIngress: | |
- SourceSecurityGroupId: !Ref PublicLoadBalancerSG | |
IpProtocol: -1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment