amazon-ecs-cli icon indicating copy to clipboard operation
amazon-ecs-cli copied to clipboard

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

Open gffuentes opened this issue 5 years ago • 3 comments

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

gffuentes avatar Jun 15 '20 19:06 gffuentes

would be a very useful feature!

stgrmks avatar Aug 28 '20 08:08 stgrmks

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

damian-keska avatar Sep 21 '21 11:09 damian-keska

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

QAnders avatar Nov 06 '21 14:11 QAnders