Error: error creating MyECSServiceName service
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" { │ ╵
Related terms
See also
- Amazon ECS, Service, Tasks (Task overview), capacity providers, Cluster Auto Scaling (CAS),
aws ecs, ecs-cli, ~/.ecs/config
, AWS Copilot, AWS Fargate, AWS CloudWatch Container Insights,/etc/ecs/ecs.config
, Security group (SG), container agent, task definition, Amazon ECS events, best practices, Amazon ECS Exec Checker, Amazon ECS Agent, Service Connect,AWSServiceRoleForECS
, Terraform ECS, AWS ECS Rolling deployments
Advertising: