aws / aws/containers-roadmap

[ECS/Fargate] [issue]: The platform v1.4.0 total environment variables size limitation

Open
#1,336 2 comments 33 reactions 0 assignees View on GitHub
ECS Fargate Fargate PV1.4 Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Fargate platform v1.4.0 behavior with 124 KB and 128 KB or more of environment-variable data, then compare it with platform v1.3.0. There are no repository files or tests mentioned; done would require a confirmed service-level resolution or documented behavior from the maintainers.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.