Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error propagate like in SSH from remote machine #579

Open
NuwanUdara opened this issue Jul 16, 2024 · 0 comments
Open

Error propagate like in SSH from remote machine #579

NuwanUdara opened this issue Jul 16, 2024 · 0 comments

Comments

@NuwanUdara
Copy link

NuwanUdara commented Jul 16, 2024

I am looking to replace my ssh sessions with ssm sessions and in my CICD pipelines, I want to use SSM manager to pass commands and run scripts on remote machine. So, to watch live logs, I am using

aws ssm start-session \
        --document-name 'AWS-StartInteractiveCommand' \

Issue I am facing is, when the command I executed in the remote fails, I do not get the error code to the host machine.

Is there a way to do this? To get the exit codes from the host machine?

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

No branches or pull requests

1 participant