1 Answer
- Newest
- Most votes
- Most comments
0
Hi, at https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-loadbalancerinfo.html it says TargetGroupPairInfoList is "an array of TargeGroupPairInfo objects with a maximum size of one". You've provided an array with 3 elements in it.
What you need is:
TargetGroupPairInfoList:
- ProdTrafficRoute: # 03:10 UTC I just edited this as in my haste earlier I forgot the "-". Had a sudden realisation while brushing my teeth (it's 11:10PM here). :)
TrafficRoute
TargetGroups:
- TargetGroupInfo
TestTrafficRoute:
TrafficRoute
Not this:
TargetGroupPairInfoList:
- ProdTrafficRoute:
TrafficRoute
- TargetGroups:
- TargetGroupInfo
- TestTrafficRoute:
TrafficRoute
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated a year ago
Thanks this fixed it for me, i see i formated it wrongly.