我找不到在 CloudFormation 中创建 SQL Server RDS 实例的任何示例,因此我使用MySQL 的示例进行了有根据的猜测。这是我想出的:
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Resources" : {
"DBInstance" : {
"Type": "AWS::RDS::DBInstance",
"Properties": {
"DBInstanceIdentifier" : "test-db",
"Engine" : "sqlserver-ex",
"Port" : "1433",
"DBInstanceClass" : "db.t1.micro",
"AllocatedStorage" : "30",
"MasterUsername" : "sa",
"MasterUserPassword" : "password"
}
}
}
}
不幸的是,这不起作用(CREATE_FAILED)。谁能告诉我为什么?