aws-toolkit-azure-devops icon indicating copy to clipboard operation
aws-toolkit-azure-devops copied to clipboard

SSM Run Command - Task will pass when command execution fails

Open ghost opened this issue 5 years ago • 6 comments

When running SSM Run Command (AWS-RunShellScript) the task will run and reports success even when the command execution fails.

Expected behavior: Run Command wait for command exit code report task status ..next task

ghost avatar Oct 31 '18 12:10 ghost

Run command execution is an asynchronous operation, so the success indication is that the command was queued with Systems Manager. We'll need to add an option to wait, polling the command id for status, to determine if the actual run was successful.

stevejroberts avatar Oct 31 '18 15:10 stevejroberts

understood, can we add this as a feature request? my use case is I need to run some commands in sequence on an instance.

ghost avatar Oct 31 '18 16:10 ghost

Sure! I can't promise any particular ETA right now however.

stevejroberts avatar Oct 31 '18 20:10 stevejroberts

hi @steveataws , know you guy are super busy but do we have an eta on this request yet ? would be super handy :)

ghost avatar Jan 03 '19 10:01 ghost

I don't have any specific ETA at the moment and have in fact changed teams so am not directly responsible for these tools anymore, although I still work on them out of interest and to help my old team out. Let me see if I can get this resolved with the next batch of updates.

stevejroberts avatar Jan 03 '19 22:01 stevejroberts

I don't have any specific ETA at the moment and have in fact changed teams so am not directly responsible for these tools anymore, although I still work on them out of interest and to help my old team out. Let me see if I can get this resolved with the next batch of updates.

Thanks @steveataws this will be a massive help :)

ghost avatar Feb 25 '19 14:02 ghost