rds - modify_db_instance does not support tags (#5024)

This commit is contained in:
Kent Ou 2022-04-17 06:44:18 +10:00 committed by GitHub
parent d9ce753cf5
commit a544a4339a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,6 +195,8 @@ class RDSResponse(BaseResponse):
def modify_db_instance(self):
db_instance_identifier = self._get_param("DBInstanceIdentifier")
db_kwargs = self._get_db_kwargs()
# NOTE modify_db_instance does not support tags
del db_kwargs["tags"]
new_db_instance_identifier = self._get_param("NewDBInstanceIdentifier")
if new_db_instance_identifier:
db_kwargs["new_db_instance_identifier"] = new_db_instance_identifier