Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to create a new version of an existing Task Definition with different image path/url through CLI? #91

Closed
XiSmartElf opened this issue Mar 19, 2016 · 1 comment

Comments

@XiSmartElf
Copy link

Is there any way to create a new version of an existing Task Definition with different image path/url through CLI?

@uttarasridhar
Copy link
Contributor

ecs-cli helps you create new task definition revisions through docker compose file format.

ecs-cli compose command creates task definitions, that are named after the compose project-name. Once you update the docker-compose.yml file with a new image path/url, you can run ecs-cli compose create to create a new ECS Task Definition revision for that project.

TaskDefinition name format : "{{compose-project--name-prefix}}{{project-name}}"

  • compose-project-name-prefix : can be configured using ecs-cli configure (defaults to 'ecscompose-')
  • project-name : can be configured using ecs-cli compose command (defaults to {{directory-name}})

You can see more information in our docs.

Hope that helps. Feel free to reopen the issue if you have more questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants