Эх сурвалжийг харах

update CloudFormation/vpc.yaml.

xdc 5 жил өмнө
parent
commit
fb29c0f399

+ 6 - 2
CloudFormation/vpc.yaml

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