Open binjiezhao-alcumus opened 8 months ago
"containerDefinitions": [
...
"environmentFiles": [
{
"value": "arn:aws:s3:::environment.env",
"type": "s3"
}
],
...
]
like above under containerDefinitions
is this what you mean?
Yes exactly. We have an env file for each environment: dev, test etc. Currently this is solved by an extra bash step to replace the file name for env.
We need to pass environment variable file stored in S3 to the render action. See this aws doc: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/taskdef-envfiles.html
How do we do it?