Cloudformation RDS Aurora:存储类型无效

Shi*_*ppa 3 amazon-rds aws-cloudformation amazon-aurora

以下是我用于创建 RDS 实例的 CFD 脚本。我正在尝试创建与 PostgreSQL 兼容的 Amazon Aurora,但我面临:Invalid Storage Type : gp2错误。

  SnapshotRDSDBInstance:
    Type: AWS::RDS::DBInstance
    Properties:
      AllocatedStorage: 20
      DBInstanceClass: 'db.t3.medium'
      DBName: mydatabase
      StorageType: gp2
      Engine: aurora-postgresql
      PubliclyAccessible: true
      MultiAZ: false
      DBSubnetGroupName: !Ref SnapshotRDSDBSubnetGroup
      VPCSecurityGroups: 
        - !Ref SnapshotRDSDBSG
      MasterUsername: 'test'
      MasterUserPassword: 'Demo@123'
      BackupRetentionPeriod: 15
      DBInstanceIdentifier: 'myrds'
Run Code Online (Sandbox Code Playgroud)

我还尝试删除StorageType上面脚本中的参数,但随后我遇到Invalid storage type: standard错误。我无法理解根本原因。我正在使用ap-south-1(孟买)区域来启动此脚本。

小智 6

Aurora 实例需要与没有集群的AWS::RDS::DBCluster过孔关联DBClusterIdentifier,您会收到这些一般错误