Last active
August 29, 2015 14:05
-
-
Save Maniacal/f5599468faacba88e249 to your computer and use it in GitHub Desktop.
iops parameter issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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