1 個回答
- 最新
- 最多得票
- 最多評論
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
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
Thanks this fixed it for me, i see i formated it wrongly.