Error: error creating MyECSServiceName service

From wikieduonline
Jump to navigation Jump to search
╷
│ Error: error creating MyEcsServiceName service: error waiting for ECS service (MyEcsServiceName) creation: InvalidParameterException: The 
provided target group arn:aws:elasticloadbalancing:us-west-2:788180647700:targetgroup/MyALBTgName/330c01d9ad7742c2 has target type ip, which is incompatible with the bridge network mode specified in the task definition.
│
│   with module.ecs_service.aws_ecs_service.this[0],
│   on .terraform/modules/ecs_service/pathtofile.tf line 19, in resource "aws_ecs_service" "this":
│   19: resource "aws_ecs_service" "this" {
│
╵
╷
│ Error: error creating MyEcsServiceName service: InvalidParameterException: The target group with targetGroupArn 
arn:aws:elasticloadbalancing:us-west-2:898180647771:targetgroup/MyALBTgName/330c01d9ad7742c2 does not have an associated load balancer.
│
│   with module.ecs_service.aws_ecs_service.this[0],
│   on .terraform/modules/ecs_service/path/tofile.tf line 19, in resource "aws_ecs_service" "this":
│   19: resource "aws_ecs_service" "this" {
│


Related terms[edit]

See also[edit]

Advertising: