Aws-cdk: [ecs] Add support for the environmentFiles option in ContainerDefinition

Created on 18 Sep 2020  路  4Comments  路  Source: aws/aws-cdk

Right now environment is supported, but we'd like to add environment variables in bulk using the environmentFiles option as described here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html

Use Case

We'd like to store our .env files for a node app in a single place (S3) to avoid drift, the files are quite large and maintaining each variable with environment isn't feasible.

Proposed Solution

Support the environmentFiles field

  • [x] :wave: I may be able to implement this feature request

This is a :rocket: Feature Request

@aws-cdaws-ecs feature-request needs-triage

Most helpful comment

Hello @mmattax, I'm working on this feature request now and hope to have something open for review shortly.

All 4 comments

Hello @mmattax, I'm working on this feature request now and hope to have something open for review shortly.

@rrhodes Awesome! Thought I'd have time to implement this, but have been swamped.

Happy to test!

@mmattax, no problem, happens to us all! This gives me an opportunity to learn about another package, so this request is welcome. :)

鈿狅笍COMMENT VISIBILITY WARNING鈿狅笍

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.

Was this page helpful?
0 / 5 - 0 ratings