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?

demandé il y a un an434 vues
1 réponse
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
EXPERT
kentrad
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions