ssm-connector: better debugging and exception in exec_command file_transport_command methods #1017
Closed
1 task done
Labels
feature
This issue/PR relates to a feature request
module
module
needs_triage
plugins
plugin (any type)
Summary
I suspect there might be a bug in the file_transport_command method as any federated user I attempt to use with the SSM connector yields unhandled errors. Specifically, when the script attempt to curl the AnsiballZ.py script from the S3 bucket back to my instance using the presigned URL, the returned object is an XML file with an error (Unsure how to capture the .xml file and save the error)
I'm unsure if the issue is when the connector puts the file into s3 or when it copies the file from s3 to the ec2 instance. I can try to check out the bucket history in CloudTrail to see what is going on there but I believe the script itself should have additional debugging output that shows specifically what is happening with the get/puts in addition to having validation that a get/put is successful.
Issue Type
Feature Idea
Component Name
aws_ssm.py
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: