1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00

correct engine version param on rds replicas

This commit is contained in:
Adam Reese 2014-12-19 10:24:26 -08:00 committed by Michelle Noorali & Josh Lane
parent da2a4adc30
commit e60026492d

View file

@ -44,7 +44,7 @@ module Fog
'DBSecurityGroups' => source['DBSecurityGroups'],
'Endpoint' => {},
'Engine' => source['Engine'],
'EngineVersion' => options['EngineVersion'] || '5.5.12',
'EngineVersion' => source['EngineVersion'],
'InstanceCreateTime' => nil,
'Iops' => source['Iops'],
'LatestRestorableTime' => nil,
@ -52,10 +52,10 @@ module Fog
'MasterUsername' => source['MasterUsername'],
'MultiAZ' => false,
'PendingModifiedValues' => {},
'PreferredBackupWindow'=> '08:00-08:30',
'PreferredMaintenanceWindow'=> "mon:04:30-mon:05:00",
'ReadReplicaDBInstanceIdentifiers'=> [],
'ReadReplicaSourceDBInstanceIdentifier'=> source_identifier
'PreferredBackupWindow' => '08:00-08:30',
'PreferredMaintenanceWindow' => "mon:04:30-mon:05:00",
'ReadReplicaDBInstanceIdentifiers' => [],
'ReadReplicaSourceDBInstanceIdentifier' => source_identifier
}
self.data[:servers][instance_identifier] = data
self.data[:servers][source_identifier]['ReadReplicaDBInstanceIdentifiers'] << instance_identifier