From a544a4339aec33cf910a93c4f98e97501d985848 Mon Sep 17 00:00:00 2001 From: Kent Ou <84220825+kentnsw@users.noreply.github.com> Date: Sun, 17 Apr 2022 06:44:18 +1000 Subject: [PATCH] rds - modify_db_instance does not support tags (#5024) --- moto/rds/responses.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moto/rds/responses.py b/moto/rds/responses.py index 31e6c0e19..3afa4824e 100644 --- a/moto/rds/responses.py +++ b/moto/rds/responses.py @@ -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