Kaynağa Gözat

update CloudFormation/vpc.yaml.

xdc 5 yıl önce
ebeveyn
işleme
fb29c0f399
1 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. 6 2
      CloudFormation/vpc.yaml

+ 6 - 2
CloudFormation/vpc.yaml

@@ -280,6 +280,10 @@ Resources:
           FromPort: 7777
           FromPort: 7777
           ToPort: 7777
           ToPort: 7777
           CidrIp: 0.0.0.0/0
           CidrIp: 0.0.0.0/0
+        - IpProtocol: tcp
+          FromPort: 22
+          ToPort: 22
+          CidrIp: 0.0.0.0/0
       SecurityGroupEgress:
       SecurityGroupEgress:
         - CidrIp: 0.0.0.0/0
         - CidrIp: 0.0.0.0/0
           IpProtocol: '-1'
           IpProtocol: '-1'
@@ -367,7 +371,7 @@ Parameters:
     Default: '11211'
     Default: '11211'
   sgName:
   sgName:
     Type: String
     Type: String
-    Default: 'sg_ai'
+    Default: sg_ai
 Outputs:
 Outputs:
   pubnet1id:
   pubnet1id:
     Value: !Ref pubnet1
     Value: !Ref pubnet1
@@ -388,4 +392,4 @@ Outputs:
   serversg:
   serversg:
     Value: !Ref webgroup
     Value: !Ref webgroup
   dbsg:
   dbsg:
-    Value: !Ref dbgroup
+    Value: !Ref dbgroup