我在AWS CloudFormation中遇到了关于EFSFileSystem
的以下错误消息。
EFSMountTargetSecurityGroup:
Type: AWS::EC2::SecurityGroup
Properties:
VpcId: !Ref 'VPC'
GroupDescription: Security group for mount target
SecurityGroupIngress:
- IpProtocol: tcp
FromPort: '2049'
ToPort: '2049'
CidrIp: 0.0.0.0/0
EFSFileSystem:
Type: AWS::EFS::FileSystem
Properties:
PerformanceMode: generalPurpose
EFSMountTargetA:
Type: AWS::EFS::MountTarget
Properties:
FileSystemId: !Ref 'EFSFileSystem'
SubnetId: !Ref 'VPCSubnetDataA'
SecurityGroups: [!Ref 'EFSMountTargetSecurityGroup']
EFSMountTargetB:
Type: AWS::EFS::MountTarget
Properties:
FileSystemId: !Ref 'EFSFileSystem'
SubnetId: !Ref 'VPCSubnetDataB'
SecurityGroups: [!Ref 'EFSMountTargetSecurityGroup']
请让我知道如何在该区域使用EFSFileSystem
或进行替换?
答案 0 :(得分:0)
AWS Elastic File System
目前在孟买,香港,北京,宁夏,大阪,巴黎或斯德哥尔摩不可用。我无法从您的CloudFormation
片段中得知您是否打算在这些区域之一中进行部署。
参考