aws / aws/amazon-ssm-agent

Ability to reload environment variables

Open
#360 2 comments 6 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
1.2k
Forks
357
PR merge metrics
No merged PRs in 30d

Description

We have a use case whereby (system) environment variables are created in one session managed by the ssm-agent, and consumed in another, later on.
We have found that unless we restart the agent, the environment variables are not available in later sessions through the (session) environment provided by the agent.
It would be great if we could trigger an environment variable reload or something of the like to permit environment variable use across sessions.

Contributor guide

Open the contributing guide

Research direction

No files or tests are named in the issue. Start by tracing how the agent creates session environments and when system environment variables are read; determine how a later session could observe variables created earlier without restarting the agent. Done means a supported reload or equivalent makes those variables available in later sessions, with coverage for the cross-session behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.