The AWS Container Definition supports environmentFiles field as an Array of EnvironmentFile objects. It can be used to specify a file from S3 which contains environment variables for the task (similar to the --env-file argument of docker run command).
Currently, this argument is not supported as an input variable
╷
│ Error: Unsupported argument
│
│ on ecs_task_definition.tf line 267, in module "task_definition":
│ 267: environmentFiles = []
│
│ An argument named "environmentFiles" is not expected here.
╵
I hope this can be added soon to the module. Either way, thanks for the great work!
The AWS Container Definition supports
environmentFilesfield as an Array of EnvironmentFile objects. It can be used to specify a file from S3 which contains environment variables for the task (similar to the--env-fileargument ofdocker runcommand).Currently, this argument is not supported as an input variable
I hope this can be added soon to the module. Either way, thanks for the great work!