Skip to content

Add installSessionManagerPlugin option and update documentation for AWS-CLI - #1753

Open
Nicholas Anderson (nranderson) wants to merge 1 commit into
devcontainers:mainfrom
nranderson:aws-cli-session-manager-plugin
Open

Nicholas Anderson (nranderson) wants to merge 1 commit into
devcontainers:mainfrom
nranderson:aws-cli-session-manager-plugin

Conversation

@nranderson

Copy link
Copy Markdown

This pull request adds support for installing the AWS Session Manager plugin as an optional feature in the AWS CLI Dev Container Feature. Users can now enable this plugin via a new option, and the installation script has been updated to detect the target OS and architecture to install the correct package. Documentation and tests have also been updated to reflect and verify this new functionality.

New Feature: Session Manager Plugin Support

  • Added an installSessionManagerPlugin option to devcontainer-feature.json and documented it in README.md and NOTES.md. This allows users to optionally install the AWS Session Manager plugin, with installation logic that selects the correct package for the OS and architecture. [1] [2] [3] [4]

Installation Script Enhancements

  • Updated install.sh to support the new INSTALLSESSIONMANAGERPLUGIN environment variable and added the install_session_manager_plugin function, which installs the appropriate plugin package based on the container's OS and architecture. [1] [2]

Testing

  • Added a new test scenario in scenarios.json and a corresponding test script to verify that the Session Manager plugin is installed when the option is enabled. [1] [2]

Version Bump

  • Bumped the feature version to 1.2.0 in devcontainer-feature.json to reflect the new functionality.Install the AWS Session Manager plugin when installSessionManagerPlugin is set to true. The package is selected from /etc/os-release and the machine architecture (.deb for Debian/Ubuntu, .rpm for RHEL-family). Bump feature version to 1.2.0 and add a test scenario and documentation.

Install the AWS Session Manager plugin when installSessionManagerPlugin is set to true. The package is selected from /etc/os-release and the machine architecture (.deb for Debian/Ubuntu, .rpm for RHEL-family). Bump feature version to 1.2.0 and add a test scenario and documentation.

Signed-off-by: Nicholas R. Anderson <nicholas.r.anderson@odni.gov>
Copilot AI balanced review requested due to automatic review settings October 20, 2026 12:14
@nranderson

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Debian-only setup steps prevent the advertised RHEL-family installation path from running.

2 open issues
What changed in this PR

Adds optional AWS Session Manager plugin installation to the AWS CLI Dev Container Feature.

Changes:

  • Adds OS- and architecture-based plugin package selection.
  • Documents the option and bumps the feature version to 1.2.0.
  • Adds an Ubuntu scenario checking plugin availability.
File Description
test/​aws-cli/​session_manager_plugin.sh Checks CLI and plugin availability.
test/​aws-cli/​scenarios.json Enables the plugin in an Ubuntu scenario.
src/​aws-cli/​README.md Documents feature options and plugin installation.
src/​aws-cli/​NOTES.md Adds plugin installation guidance.
src/​aws-cli/​install.sh Adds optional plugin installation logic.
src/​aws-cli/​devcontainer-feature.json Declares the option and bumps the version.

Review effort: Balanced

Comment thread src/aws-cli/README.md
Comment thread src/aws-cli/install.sh

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants