SSM run command interactive input

0

Is it possible to pass a value to a script which asks for input via the RunShellScript SSM document? For example, if I execute a shell script on a node, using run command, which asks for input, is there some way to pass that input from the SSM console?

gefragt vor einem Jahr438 Aufrufe
1 Antwort
0

I don't think this is possible using the Run command and Console. I think the closest thing would be to use Sessions Manager to run a command with an interactive session where you could respond to the command prompt. See: Starting a session (interactive and noninteractive commands).

profile pictureAWS
EXPERTE
kentrad
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen