Last active
June 19, 2018 22:13
-
-
Save msato0731/158ff71655ded1afb443e3515211aa62 to your computer and use it in GitHub Desktop.
AWS_SG_Cloudformation_default
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
AWSTemplateFormatVersion: 2010-09-09 | |
Resources: | |
VPC: | |
Type: 'AWS::EC2::VPC' | |
Properties: | |
CidrBlock: 172.16.0.0/16 | |
EnableDnsSupport: true | |
EnableDnsHostnames: true | |
InstanceTenancy: default | |
Tags: | |
- Key: Name | |
Value: TestVpc | |
SecurityGroupRDS: | |
Type: 'AWS::EC2::SecurityGroup' | |
Properties: | |
GroupName: RDS-SG | |
GroupDescription: >- | |
RDS SecurityGroup Test | |
SecurityGroupIngress: | |
- CidrIp: 0.0.0.0/0 | |
Description: MySQL | |
IpProtocol: tcp | |
FromPort: 3306 | |
ToPort: 3306 | |
VpcId: !Ref VPC | |
Tags: | |
- Key: Name | |
Value: RDS-SG |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment