amazon-web-servicesamazon-ecs

How to specify ECS service name


It seems like taskDefinition is used for the service name. I currently have taskDefinition for old names. Does it mean that I need to deregister these definitions first? This should be automated via ecs-cli


Solution

  • --project-name in ecs cli service up works

    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