millions-parrot-88279
03/24/2023, 2:46 AMlittle-cartoon-10569
03/24/2023, 3:36 AMServices with tasks that use the awsvpc network mode only support Application Load Balancer and Network Load Balancer. When you create any target groups for these services, you must choose ip as the target type. Do not use instance. This is because tasks that use the awsvpc network mode are associated with an ENI, not with an Amazon EC2 Linux instance. For more information, see Service load balancing.https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking-awsvpc.html This is not related to Pulumi.
ip
. If you're not specifying it, it's instance
, so you need to add it and set it to ip
.
https://www.pulumi.com/registry/packages/aws/api-docs/lb/targetgroup/#targettype_nodejsmillions-parrot-88279
03/24/2023, 12:28 PM