Copying code like this into the Rakefile is breaking abstraction. A user should only know that an rds instance type is mysql, oracle, oracle_byol, sqlserver, sqlserver_web, sqlserver_expres, and is either for multi-az or not. These are internal tokens used in Amazon's internal json, and should not be exposed publicly.