remove merge_taglists as AWS will only take submitted tags or tags from db but not both when creating snapshot

This commit is contained in:
Jon Beilke 2018-09-21 13:28:13 -05:00
commit 7daee905a5
4 changed files with 10 additions and 43 deletions

View file

@ -160,7 +160,7 @@ class RDS2Response(BaseResponse):
def create_db_snapshot(self):
db_instance_identifier = self._get_param('DBInstanceIdentifier')
db_snapshot_identifier = self._get_param('DBSnapshotIdentifier')
tags = self._get_param('Tags', [])
tags = self.unpack_complex_list_params('Tags.Tag', ('Key', 'Value'))
snapshot = self.backend.create_snapshot(db_instance_identifier, db_snapshot_identifier, tags)
template = self.response_template(CREATE_SNAPSHOT_TEMPLATE)
return template.render(snapshot=snapshot)