You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I got it working with some some hacks to use my AWS role profile as the code does not accept roles at the moment. Could it be possible to improve that functionality to support profile roles in an easier way?
For example in my code I had to do this (using a boto3 session previously initialised with my profile):
Is there an easier way to get that working? Unfortunately the create method here does not accept local_user_id as argument, or any boto3 session or profile to use:
Ideally I would like to pass to the create method my AWS profile instead. Even passing the local_user_id would be an improvements, but not as nice.
Also, another problem I have with the hack above is that even though I got the solution working, the methods get_instance_ids and print_ssh_info fail with: " ERROR: NoCredentialsError calling ssm". Is there a way to get these working with some other workaround?
The text was updated successfully, but these errors were encountered:
Hi,
I am using https://github.com/aws-samples/sagemaker-ssh-helper to connect to a Processing Sagemaker job to help with debugging.
I got it working with some some hacks to use my AWS role profile as the code does not accept roles at the moment. Could it be possible to improve that functionality to support profile roles in an easier way?
For example in my code I had to do this (using a
boto3
session previously initialised with my profile):Is there an easier way to get that working? Unfortunately the create method here does not accept
local_user_id
as argument, or anyboto3
session or profile to use:sagemaker-ssh-helper/sagemaker_ssh_helper/wrapper.py
Line 554 in 1a45feb
Ideally I would like to pass to the create method my AWS profile instead. Even passing the
local_user_id
would be an improvements, but not as nice.Also, another problem I have with the hack above is that even though I got the solution working, the methods
get_instance_ids
andprint_ssh_info
fail with: " ERROR: NoCredentialsError calling ssm". Is there a way to get these working with some other workaround?The text was updated successfully, but these errors were encountered: