Fix: Return Tags in iam:CreateUserResponse

Fixes #3450
This commit is contained in:
Brian Pandola 2020-11-09 14:59:06 -08:00
commit b8e08539e3
2 changed files with 27 additions and 0 deletions

View file

@ -1684,6 +1684,16 @@ USER_TEMPLATE = """<{{ action }}UserResponse>
<UserId>{{ user.id }}</UserId>
<CreateDate>{{ user.created_iso_8601 }}</CreateDate>
<Arn>{{ user.arn }}</Arn>
{% if user.tags %}
<Tags>
{% for tag in user.tags %}
<member>
<Key>{{ tag['Key'] }}</Key>
<Value>{{ tag['Value'] }}</Value>
</member>
{% endfor %}
</Tags>
{% endif %}
</User>
</{{ action }}UserResult>
<ResponseMetadata>