[community.aws.aws_ssm] Let user define which SSM document to use for start session #613
Labels
feature
This issue/PR relates to a feature request
module
module
needs_triage
plugins
plugin (any type)
SUMMARY
By default, Session Manager will use the default document to start a session, which is
SSM-SessionManagerRunShell
.However, it could be a really nice thing to be able to define which document we want to use.
ISSUE TYPE
COMPONENT NAME
community.aws.aws_ssm
plugins/connection/aws_ssm.py
ADDITIONAL INFORMATION
One can think about logging all what is done during ssm sessions opened on an AWS account.
To do that, I think it is pretty common to define our own SSM document, with specific configuration like specifying S3 bucket to send logs to (or Cloudwatch equivalent).
Obviously, it can be done on default SSM document but that becomes unusable in shared accounts, where each project/team may want to have its own outputs.
I also think that modification of AWS provided stuffs (like policies of SSM documents) is discouraged by AWS itself (as it could break if AWS decides to change it).
Providing the ability to specify which SSM document to use would be a great trick (with verification that this document exist before trying to run it)
The text was updated successfully, but these errors were encountered: