Amazon web services 5.7(2.07.1)当前无法使用您请求的无服务器引擎模式
尝试使用MySQL 2.07.1创建RDS aurora服务器 并收到一个错误“您请求的无服务器引擎模式当前不可用。(服务:AmazonRDS;状态代码:400;错误代码:InvalidParameterValue;请求ID:xxxx;代理:null) 任何建议都会对我有很大帮助 下面是示例代码Amazon web services 5.7(2.07.1)当前无法使用您请求的无服务器引擎模式,amazon-web-services,amazon-cloudformation,amazon-rds,aws-aurora-serverless,Amazon Web Services,Amazon Cloudformation,Amazon Rds,Aws Aurora Serverless,尝试使用MySQL 2.07.1创建RDS aurora服务器 并收到一个错误“您请求的无服务器引擎模式当前不可用。(服务:AmazonRDS;状态代码:400;错误代码:InvalidParameterValue;请求ID:xxxx;代理:null) 任何建议都会对我有很大帮助 下面是示例代码 { "AWSTemplateFormatVersion" : "2010-09-09", "Description" : &quo
{
"AWSTemplateFormatVersion" : "2010-09-09",
"Description" : "AWS CloudFormation Sample Template AuroraServerlessDBCluster: Sample template showing how to create an Amazon Aurora Serverless DB cluster. **WARNING** This template creates an Amazon Aurora DB cluster. You will be billed for the AWS resources used if you create a stack from this template.",
"Parameters" : {
"DBUsername" : {
"NoEcho" : "true",
"Description" : "Username for MySQL database access",
"Type" : "String",
"MinLength" : "1",
"MaxLength" : "16",
"AllowedPattern" : "[a-zA-Z][a-zA-Z0-9]*",
"ConstraintDescription" : "must begin with a letter and contain only alphanumeric characters."
},
"DBPassword" : {
"NoEcho" : "true",
"Description" : "Password MySQL database access",
"Type" : "String",
"MinLength" : "8",
"MaxLength" : "41",
"AllowedPattern" : "[a-zA-Z0-9]*",
"ConstraintDescription" : "must contain only alphanumeric characters."
}
},
"Resources" : {
"RDSCluster" : {
"Type": "AWS::RDS::DBCluster",
"Properties" : {
"MasterUsername" : {
"Ref": "DBUsername"
},
"MasterUserPassword" : {
"Ref": "DBPassword"
},
"DBClusterIdentifier" : "my-serverless-cluster",
"Engine" : "aurora",
"EngineVersion" : "2.07.1",
"EngineMode" : "serverless",
"ScalingConfiguration" : {
"AutoPause" : true,
"MinCapacity" : 4,
"MaxCapacity" : 32,
"SecondsUntilAutoPause" : 1000
}
}
}
}
}
您正在尝试使用aurora MySQL 2.07.1(即MySQL 5.7版本[+])创建RDS aurora serverless。 查看上面的代码和模板参数,我可以看到您的“引擎”参数是“aurora”,对于mysql 5.7版本[+](),它应该是“aurora mysql”