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?

feita há um ano438 visualizações
1 Resposta
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
ESPECIALISTA
kentrad
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas