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?

質問済み 1年前432ビュー
1回答
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
エキスパート
kentrad
回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ