Fixed some tests.
Some subnets were bogus so fixed that. Fixed issue where EC2-Classic was not respected. RDS Deepcopy was breaking on subnet generator
This commit is contained in:
parent
d935e0995f
commit
9ddf7fe436
4 changed files with 26 additions and 15 deletions
|
|
@ -704,7 +704,8 @@ class RDS2Backend(BaseBackend):
|
|||
if self.arn_regex.match(source_database_id):
|
||||
db_kwargs['region'] = self.region
|
||||
|
||||
replica = copy.deepcopy(primary)
|
||||
# Shoudln't really copy here as the instance is duplicated. RDS replicas have different instances.
|
||||
replica = copy.copy(primary)
|
||||
replica.update(db_kwargs)
|
||||
replica.set_as_replica()
|
||||
self.databases[database_id] = replica
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue