【发布时间】:2020-06-22 05:12:58
【问题描述】:
以下是我创建 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'
我还尝试删除上述脚本中的StorageType 参数,但随后我遇到Invalid storage type: standard 错误。
我无法理解根本原因。
我正在使用ap-south-1(孟买)地区来启动这个脚本。
【问题讨论】:
-
此处提到的 Aurora 不需要
StorageType:stackoverflow.com/a/55966646
标签: amazon-cloudformation amazon-rds amazon-aurora