瀏覽代碼

update CloudFormation/vpc.yaml.

xdc 5 年之前
父節點
當前提交
fb29c0f399
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      CloudFormation/vpc.yaml

+ 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