Trying to create an RDS aurora server less with MySQL 2.07.1 and got an error "The engine mode serverless you requested is currently unavailable. (Service: AmazonRDS; Status Code: 400; Error Code: InvalidParameterValue; Request ID: xxxx; Proxy: null)"
Any suggestions would help me a lot
here is the sample code
{
"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
}
}
}
}
}