Skip to content

Commit

Permalink
Merge pull request #104 from michelleN/create-db-instance-read-replica
Browse files Browse the repository at this point in the history
default replica AutoMinorVersionUpgrade to master
  • Loading branch information
geemus committed May 5, 2015
2 parents b2641d5 + edf41eb commit d3b3f68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def create_db_instance_read_replica(instance_identifier, source_identifier, opti
source = self.data[:servers][source_identifier]
data = {
'AllocatedStorage' => source['AllocatedStorage'],
'AutoMinorVersionUpgrade' => options.key?('AutoMinorVersionUpgrade') ? options['AutoMinorVersionUpgrade'] : true,
'AutoMinorVersionUpgrade' => options.key?('AutoMinorVersionUpgrade') ? options['AutoMinorVersionUpgrade'] : source['AutoMinorVersionUpgrade'],
'AvailabilityZone' => options['AvailabilityZone'],
'DBInstanceClass' => options['DBInstanceClass'] || 'db.m1.small',
'DBInstanceIdentifier' => instance_identifier,
Expand Down

0 comments on commit d3b3f68

Please sign in to comment.