<p>As the error message states, TargetGroupARNs value should be of type List. <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-targetgrouparns" rel="nofollow noreferrer">https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-targetgrouparns</a></p>

CC BY-SA 4.0
2020-08-06T07:10:56.210Z
2020-08-06T07:10:56.210Z
Simbiot
<p>I am trying to use cloudformation to setup a ASG and I have a target group which I would like to associate with the ASG. The target group is created okay but when I go to attach it to the ASG I get an error message. I'd like to be able to attach this as I want a ALB in front of the ASG</p>

<amazon-web-services><aws-cloudformation>
Issue with cloudformation in target groups and ASG
Turnip
# Issue with cloudformation in target groups and ASG

(Asked by: username_0 on 2020-08-06)

I am trying to use cloudformation to setup a ASG and I have a target group which I would like to associate with the ASG. The target group is created okay but when I go to attach it to the ASG I get an error message. I'd like to be able to attach this as I want a ALB in front of the ASG

**Tags:** amazon-web-services, aws-cloudformation


---

## 1 answers

### Answer by username_1 on 2020-08-06. Score: 1 | Accepted answer

As the error message states, TargetGroupARNs value should be of type List. <https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-group.html#cfn-as-group-targetgrouparns>


---

