Explorar el Código

add CloudFormation/efs.yaml.

xdc hace 5 años
padre
commit
4d05ccf99e
Se han modificado 1 ficheros con 39 adiciones y 0 borrados
  1. 39 0
      CloudFormation/efs.yaml

+ 39 - 0
CloudFormation/efs.yaml

@@ -0,0 +1,39 @@
+AWSTemplateFormatVersion: 2010-09-09
+Resources:
+  efs:
+    Type: 'AWS::EFS::FileSystem'
+    Properties:
+      FileSystemTags:
+        - Key: Name
+          Value: EFS
+      PerformanceMode: generalPurpose
+    Metadata:
+      'AWS::CloudFormation::Designer':
+        id: 4a728883-8044-416c-96ea-2303957c3505
+  mount1:
+    Type: 'AWS::EFS::MountTarget'
+    Properties:
+      SecurityGroups:
+        - !Ref dbgroupid
+      SubnetId: !Ref dbnet1id
+      FileSystemId: !Ref efs
+    Metadata:
+      'AWS::CloudFormation::Designer':
+        id: 6f112f22-0231-4aca-88a5-4f42c17a55e2
+  mount2:
+    Type: 'AWS::EFS::MountTarget'
+    Properties:
+      SecurityGroups:
+        - !Ref dbgroupid
+      SubnetId: !Ref dbnet2id
+      FileSystemId: !Ref efs
+    Metadata:
+      'AWS::CloudFormation::Designer':
+        id: 07c20ea7-136d-433b-bf71-50b4c7d9636a
+Parameters:
+  dbgroupid:
+    Type: String
+  dbnet1id:
+    Type: String
+  dbnet2id:
+    Type: String