Skip to content

Instantly share code, notes, and snippets.

@thecraftman
Last active July 16, 2021 19:32
Show Gist options
  • Save thecraftman/7347c0db21c891e692c0b3dbd52c183f to your computer and use it in GitHub Desktop.
Save thecraftman/7347c0db21c891e692c0b3dbd52c183f to your computer and use it in GitHub Desktop.
ref intrinsic function
Properties:
InstanceType: t2.micro
SecurityGroups:
- !Ref EC2SecurityGroup
EC2SecurityGroup:
Type: AWS::EC2::SecurityGroup
Properties:
GroupDescription: "Enable HTTP on 80"
SecurityGroupIngress:
- IpProtocol: tcp
FromPort: "80"
ToPort: "80"
CidrIp: "0.0.0.0/0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment