Updating RDS instance status after deleting it
This commit is contained in:
parent
4372c346d9
commit
cae86a8eeb
@ -373,6 +373,7 @@ class RDSBackend(BaseBackend):
|
||||
if database.is_replica:
|
||||
primary = self.describe_databases(database.source_db_identifier)[0]
|
||||
primary.remove_replica(database)
|
||||
database.status = 'deleting'
|
||||
return database
|
||||
else:
|
||||
raise DBInstanceNotFoundError(db_instance_identifier)
|
||||
|
Loading…
Reference in New Issue
Block a user