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

set VpcSecurityGroups on replica creation

This commit is contained in:
Josh Lane 2015-08-24 11:01:01 -07:00
parent 883972e9ab
commit 52a9098c6d

View file

@ -61,6 +61,7 @@ module Fog
'ReadReplicaSourceDBInstanceIdentifier' => source_identifier,
'StorageType' => options['StorageType'] || 'standard',
'StorageEncrypted' => false,
'VpcSecurityGroups' => source['VpcSecurityGroups'],
}
self.data[:servers][instance_identifier] = data
self.data[:servers][source_identifier]['ReadReplicaDBInstanceIdentifiers'] << instance_identifier