From bb44af2ccfe58874e3558a33b571ad3ebee12842 Mon Sep 17 00:00:00 2001 From: Hunter Jarrell Date: Fri, 14 Jun 2019 15:50:37 -0400 Subject: [PATCH] Add CreateDate to iam list_groups_for_user. Add the CreateDate field to the list_groups_for_user to match the correct AWS response. Fixes #2242 --- moto/iam/responses.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/moto/iam/responses.py b/moto/iam/responses.py index 05624101a..b923a5250 100644 --- a/moto/iam/responses.py +++ b/moto/iam/responses.py @@ -1349,6 +1349,7 @@ LIST_GROUPS_FOR_USER_TEMPLATE = """ {{ group.name }} {{ group.id }} {{ group.arn }} + {{ group.created_iso_8601 }} {% endfor %} @@ -1651,6 +1652,7 @@ LIST_GROUPS_FOR_USER_TEMPLATE = """ {{ group.name }} {{ group.id }} {{ group.arn }} + {{ group.created_iso_8601 }} {% endfor %}