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

interpolate envs from .env file in ecs-params.yml #1064

Open gffuentes opened 4 years ago

gffuentes commented 4 years ago

I would like to use environment variables in ecs-params.yml as defined in the default .env file for docker.

Context

An example might be:

.env

ENVIRONMENT=qa

ecs-params.yml

      secrets:
        - name: USERNAME
          value_from:  arn:aws:ssm:us-east-1:XXXXX:parameter/${ENVIRONMENT}/USERNAME
stgrmks commented 4 years ago

would be a very useful feature!

damian-keska commented 3 years ago

I'm looking for this feature, current behavior is inconsistent.

QAnders commented 2 years ago

Second this, or at least be able to use OS vars, e.g. export ENVIRONMENT=qa