Skip to content

Conversation

@G-Rath
Copy link
Contributor

@G-Rath G-Rath commented Oct 15, 2025

See the new section of the readme for why this is useful 🙂

@G-Rath G-Rath force-pushed the support-doc branch 8 times, most recently from 7e56179 to 7cf0766 Compare October 15, 2025 18:48
@G-Rath G-Rath marked this pull request as ready for review October 15, 2025 20:24
@G-Rath G-Rath force-pushed the support-doc branch 3 times, most recently from 2edc1ad to 9714b1a Compare December 7, 2025 19:13
@G-Rath G-Rath force-pushed the support-doc branch 2 times, most recently from 6fd5c5c to e4efac9 Compare December 14, 2025 18:41
@G-Rath G-Rath requested a review from Copilot December 14, 2025 18:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds support for using alternative AWS Systems Manager documents and passing extra parameters to SsmPortForwardingSession, enabling more advanced use cases like tunneling through an EC2 instance to access private RDS databases.

Key changes:

  • Added document and extra_params optional parameters to SsmPortForwardingSession.new
  • Extra parameters are merged with required parameters, with explicit parameters taking precedence
  • Documentation and tests demonstrate using AWS-StartPortForwardingSessionToRemoteHost for database access

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
lib/aws_ec2_environment/ssm_port_forwarding_session.rb Added document and extra_params parameters to initialize method and updated ssm_port_forward_cmd to use them
sig/aws_ec2_environment/ssm_port_forwarding_session.rbs Updated type signatures for new parameters and private method
spec/aws_ec2_environment/ssm_port_forwarding_session_spec.rb Added comprehensive test coverage for custom documents, extra parameters, and parameter overriding
README.md Added example demonstrating database access through SSM tunneling with custom document and parameters
CHANGELOG.md Documented the new feature in the unreleased section

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

5 participants