[ECS/Fargate] [issue]: The platform v1.4.0 total environment variables size limitation
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Tell us about your request The Fargate platform v1.4.0 has the environment variables size limitation that we can pass to the container. I can pass to a container 31 variables with 4kb of data each and I cannot pass 32 or more variables with the same size.
Which service(s) is this request for? The issue is related to the Fargate platform v1.4.0, which is currently not able to pass environment variables to a task with more than ~124Kb of data (total size). (it works with 124Kb and does not with 128kb or more).
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
I am trying to pass env. variables with more than 128kb of data. When I do that, the task fails to start with an error:
CannotStartContainerError: ResourceInitializationError: failed to create new container runtime task: failed to create init process I/O: 1 error occurred: * failed to start binary process: fork/exec /sbin/shim-logger-wrapper: argument list too long : ...
Are you currently working around this issue? The platform 1.3.0 does not have this issue
@georgio-sd got any results? I am hitting this still 4 years later... it's so weird, I manually added 59 vars got no error on the webUI and now when I try to deploy got the argument list too long error. Very unprofessional and meaningless limit.