We have an existing ALB which is populated in the http.alb field. When used in conjunction with a load balanced hosting setup as specified below we get an error in deploying the service. Note: Deploying a single host works (count: 1), Target Group shows IP in the Target Type field for single host deployments.
deploy service service to environment beta: deploy service: check if changeset is empty: create change set copilot-ID for stack app-beta-service: ValidationError: Template error: instance of Fn::GetAtt references undefined resource TargetGroup
status code: 400, request id: ID: describe change set copilot-dd029c74-a3e8-49fe-9802-4f1d06593d22 for stack app-beta-service: ValidationError: Stack [app-beta-service] does not exist
status code: 400, request id: ID: describe stack: describe stack events for stack app-beta-service: ValidationError: Stack [app-beta-service] does not exist
status code: 400, request id: ID
Load Balancing Config
http:
# Import the existing ownit-shared-lb
alb: arn:aws:elasticloadbalancing:us-east-1:account:loadbalancer/app/shared-beta-lb/restofarn
count:
range: 1-2
cooldown:
in: 60s
out: 30s
cpu_percentage: 70
memory_percentage: 80
response_time: 2s
We have an existing ALB which is populated in the
http.albfield. When used in conjunction with a load balanced hosting setup as specified below we get an error in deploying the service. Note: Deploying a single host works (count: 1), Target Group showsIPin theTarget Typefield for single host deployments.Load Balancing Config