diff --git a/salt/modules/boto_rds.py b/salt/modules/boto_rds.py index f736f71da9..d0175bc51c 100644 --- a/salt/modules/boto_rds.py +++ b/salt/modules/boto_rds.py @@ -277,10 +277,10 @@ def create(name, allocated_storage, db_instance_class, engine, val = locals()[key] if val is not None: mapped = boto3_param_map[key] + if key == 'tags': + val = _tag_doc(val) kwargs[mapped[0]] = mapped[1](val) - taglist = _tag_doc(tags) - # Validation doesn't want parameters that are None # https://github.com/boto/boto3/issues/400 kwargs = dict((k, v) for k, v in six.iteritems(kwargs) if v is not None)