Terraform apply errors out with a message: updating ECS Service InvalidParameterException: load balancers can have at most 5 items
I have an AWS ALB that is supposed to frontend an ECS Fargate frontend app written in Angular and a Backend that is written in NestJS. I intend to use a Single ALB for both frontend and backend and therefore, I have setup a listener rule that should take about 7 backend condition rules which are path patterns.