From 5db35ef168ff0ae9a1ebd397885cdaa326221f5c Mon Sep 17 00:00:00 2001 From: amitchakote7 Date: Thu, 29 Nov 2018 15:39:39 +1100 Subject: [PATCH] Added TargetGroupARNs to DESCRIBE_AUTOSCALING_GROUPS_TEMPLATE --- moto/autoscaling/responses.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/moto/autoscaling/responses.py b/moto/autoscaling/responses.py index 5586c51dd..845db0136 100644 --- a/moto/autoscaling/responses.py +++ b/moto/autoscaling/responses.py @@ -508,6 +508,15 @@ DESCRIBE_AUTOSCALING_GROUPS_TEMPLATE = """ {% endif %} + {% if group.target_group_arns %} + + {% for target_group_arn in group.target_group_arns %} + {{ target_group_arn }} + {% endfor %} + + {% else %} + + {% endif %} {{ group.min_size }} {% if group.vpc_zone_identifier %} {{ group.vpc_zone_identifier }}