如何指定ECS服务名称

How to specy ECS service name

服务名称似乎使用了 taskDefiinition。我目前有旧名称的 taskDefinition。这是否意味着我需要先注销此定义?这应该通过 ecs-cli

自动执行

--project-name 在 ecs cli 服务中正常工作

Specifies the project name to use. If the COMPOSE_PROJECT_NAME environment variable is set when ecs-cli compose is run, then the project name is set to the value of that environment variable.

Type: String

Default: The current directory name.

Required: No

source