Got TargetGroupVerifyError due to exceeding the limit of DescribeTags #2560
Unanswered
chatchai-outreach
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Got the following errors when rolling out an application with a load balancer that has 21 target groups.
Failed to verify Service testservice-alb-canary (TargetGroup unknown): operation error Elastic Load Balancing v2: DescribeTags, https response error StatusCode: 400, RequestID: xxxxxx-1234-5678-8901-xxxxxxxx, api error ValidationError: Cannot have more than 20 resources described
AWS ALB API Spec supports 20 ARNs max - https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTags.html
Resource Arns.member.N - The Amazon Resource Names (ARN) of the resources. You can specify up to 20 resources in a single call.
argo-rollouts/utils/aws/aws.go
Lines 173 to 186 in 3321a89
should DescribeTargetGroups be called with pagination and/or DescribeTags requested in batches?
Beta Was this translation helpful? Give feedback.
All reactions