此区域不支持资源cloudformation EFSFileSystem

时间:2019-05-31 16:22:45

标签: amazon-web-services amazon-cloudformation

我在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或进行替换?

1 个答案:

答案 0 :(得分:0)

AWS Elastic File System目前在孟买,香港,北京,宁夏,大阪,巴黎或斯德哥尔摩不可用。我无法从您的CloudFormation片段中得知您是否打算在这些区域之一中进行部署。

参考

AWS Regional Product Services