Skip to content

Instantly share code, notes, and snippets.

@Maniacal
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Maniacal/f5599468faacba88e249 to your computer and use it in GitHub Desktop.
Save Maniacal/f5599468faacba88e249 to your computer and use it in GitHub Desktop.
iops parameter issue
Here are the params being passed:
{ "ParameterKey": "MysqlDBAllocatedStorage", "ParameterValue" : "250" },
{ "ParameterKey": "MysqlDBIOPS", "ParameterValue" : 2000 },
{ "ParameterKey": "MysqlDBInstanceClass", "ParameterValue" : "db.m3.xlarge" }
Here's the parameter declaration:
"MysqlDBIOPS" : {
"Description" : "Number of IOPS to provision; 1000 increments per 100GB allocated storage",
"Type" : "Number",
"MinValue" : 1000,
"MaxValue" : 10000
}
Here's where the params are being consumed:
"RDSMysqlCluster" : {
"Type" : "AWS::RDS::DBInstance",
"Properties" : {
"AllocatedStorage" : { "Ref" : "MysqlDBAllocatedStorage" },
"AllowMajorVersionUpgrade" : false,
"AutoMinorVersionUpgrade" : false,
"BackupRetentionPeriod" : "7",
"DBInstanceClass" : { "Ref" : "MysqlDBInstanceClass" },
"DBParameterGroupName" : { "Ref" : "RDSMysqlClusterParameterGroup" },
"DBSubnetGroupName" : { "Ref" : "RDSDBSubnetGroup" },
"Engine" : "mysql",
"EngineVersion" : "5.6.17",
"Iops" : { "Ref" : "MysqlDBIOPS" },
"MasterUsername" : { "Ref" : "MysqlDBMasterUsername" },
"MasterUserPassword" : { "Ref" : "MysqlDBMasterPassword" },
"MultiAZ" : true,
"Port" : { "Ref" : "MysqlDBPort" },
"VPCSecurityGroups" : [ { "Ref" : "DBPrivateSecurityGroup" } ],
"Tags" : [
{ "Key" : "Name", "Value" : { "Fn::Join" : [ "-", [ { "Ref" : "AWS::StackName" }, "mysql" ] ] } },
{ "Key" : "VPCGroup", "Value": { "Ref" : "VPCGroup" } }
]
}
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment