Last active
March 31, 2018 08:03
-
-
Save reizist/12f4ad87141d535dea75 to your computer and use it in GitHub Desktop.
security_group.yml
This file contains hidden or 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
AWSTemplateFormatVersion: 2010-09-09 | |
Resources: | |
Basic: | |
Type: AWS::EC2::SecurityGroup | |
Properties: | |
GroupDescription: Enable SSH access via port 22 and 80 | |
SecurityGroupIngress: | |
- IpProtocol: tcp | |
CidrIp: 0.0.0.0/0 | |
FromPort: 22 | |
ToPort: 22 | |
- IpProtocol: tcp | |
CidrIp: 0.0.0.0/0 | |
FromPort: 80 | |
ToPort: 80 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment