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" { │ ╵
╷ │ 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]
- AWS ALB,
AWS::ElasticLoadBalancingV2
[aws elbv2
|create-load-balancer
|describe-load-balancers
|create-target-group
|describe-target-groups | describe-target-health
|create-rule
|register-targets | describe-account-limits
],alb-http-drop-invalid-header-enabled
- 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: