efs.yaml 980 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. AWSTemplateFormatVersion: 2010-09-09
  2. Resources:
  3. efs:
  4. Type: 'AWS::EFS::FileSystem'
  5. Properties:
  6. FileSystemTags:
  7. - Key: Name
  8. Value: EFS
  9. PerformanceMode: generalPurpose
  10. Metadata:
  11. 'AWS::CloudFormation::Designer':
  12. id: 4a728883-8044-416c-96ea-2303957c3505
  13. mount1:
  14. Type: 'AWS::EFS::MountTarget'
  15. Properties:
  16. SecurityGroups:
  17. - !Ref dbgroupid
  18. SubnetId: !Ref dbnet1id
  19. FileSystemId: !Ref efs
  20. Metadata:
  21. 'AWS::CloudFormation::Designer':
  22. id: 6f112f22-0231-4aca-88a5-4f42c17a55e2
  23. mount2:
  24. Type: 'AWS::EFS::MountTarget'
  25. Properties:
  26. SecurityGroups:
  27. - !Ref dbgroupid
  28. SubnetId: !Ref dbnet2id
  29. FileSystemId: !Ref efs
  30. Metadata:
  31. 'AWS::CloudFormation::Designer':
  32. id: 07c20ea7-136d-433b-bf71-50b4c7d9636a
  33. Parameters:
  34. dbgroupid:
  35. Type: String
  36. dbnet1id:
  37. Type: String
  38. dbnet2id:
  39. Type: String