Coder Social home page Coder Social logo

Variable substitution about amazon-ecs-cli HOT 4 CLOSED

aws avatar aws commented on July 17, 2024
Variable substitution

from amazon-ecs-cli.

Comments (4)

uttarasridhar avatar uttarasridhar commented on July 17, 2024

Duplicate of #28

from amazon-ecs-cli.

miticojo avatar miticojo commented on July 17, 2024

Unfortunately I don't speak Go language at the moment and, while waiting for implementation, I've created a small utility that solve that need: https://github.com/miticojo/ecs-cli-vars

from amazon-ecs-cli.

uttarasridhar avatar uttarasridhar commented on July 17, 2024

tracking it in #28

from amazon-ecs-cli.

andrykonchin avatar andrykonchin commented on July 17, 2024

Could anybody provide me an example? I can't set it to work.

I run following command to create service:

DOCKER_IMAGE_TAG=9105d31 ecs-cli compose --file ecs-cli.docker-compose.yml service up

I try to use environment variable substitution in the following way (in docker-compose file):

services:
  api:
    image: "...-api:${DOCKER_IMAGE_TAG}"

The task fails to run with following error message (in AWS console UI)
STOPPED (CannotPullContainerError: API error (404): manifes)

and I can an image name in UI - 494674277282.dkr.ecr.eu-west-1.amazonaws.com/resolver-local-api: (without a tag)

@uttarasridhar Does it mean I do something wrong or the feature is broken?


UPD

Looks like it's a known issue (#537)
When are you going to release the fix?

from amazon-ecs-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.