aws / aws/containers-roadmap

[fargate] [request]: document HOSTNAME environment variable behavior

Open
#1,325 3 comments 16 reactions 0 assignees View on GitHub
Fargate 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

It seems in the last few days, Fargate behavior changed, to where you cannot write the `HOSTNAME` environment variable through a task definition. Instead, it's overridden to the actual host's hostname.

For anyone who relied on that variable, it was a breaking change :)

I didn't see it in the environment variables available docs, so that should probably be called out.

**Which service(s) is this request for?**
Only tested this on Fargate

**Are you currently working around this issue?**
Changed envvar name.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Fargate environment-variable documentation and verify the reported HOSTNAME behavior against a task definition. Done means the relevant documentation explicitly explains that HOSTNAME is overridden and identifies the supported workaround or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.