aws / amazon-ecs-cli

The Amazon ECS CLI enables users to run their applications on ECS/Fargate using the Docker Compose file format, quickly provision resources, push/pull images in ECR, and monitor running applications on ECS/Fargate.
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI.html
Other
1.77k stars 302 forks source link

Feature request: create target group with "ecs-cli compose service create" #702

Open toredash opened 5 years ago

toredash commented 5 years ago

Summary

ecs-cli does not create an target group for creating a service with "ecs-cli compose service create"

Description

The documentation states that an ELB must be pre-provisioned before creating ECS services. When using the regular AWS ECS Console UI, your given the option to create a target group when you create the service: image

It would make our automation easier if ecs-cli would be able to manage the target group component by itself.

SoManyHs commented 5 years ago

Could potentially be encompassed by https://github.com/aws/amazon-ecs-cli/issues/704, but also valid as a standalone feature.

SoManyHs commented 5 years ago

Note: This would require a load balancer to be created already, but would also be good to create a listener for the target group.