AWSTemplateFormatVersion: "2010-09-09"
Description: sg-create
Resources:
SG1:
Type: "AWS::EC2::SecurityGroup"
Properties:
GroupDescription: "test-create"
GroupName: "security-group01"
VpcId: "vpc-xxxxxxxxxxxxx"
Tags:
- Key: "Name"
Value: "secg-01"
SecurityGroupIngress:
- IpProtocol:tcp
FromPort:22
ToPort:22
CidrIp: "xxx.xxx.xxx.xxx/xx"
これ、全部やるの??