systemmanager - status code 127

0

When running a shell script using system manager, I get a failed status code of 127. If I run the shell script directly to the server (Amazon Linux 2 - 2023 ami), it works properly. I assume that certain permissions difficulties exist for that particular file directory. Could someone please assist in resolving the issue?

Error :

sh: line 1: /var/lib/amazon/ssm/i-0e6bbd5cbbbb80dd6/document/orchestration/a1ffe36b-8ce9-4f46-b7b2-5f8475b349d5/awsrunShellScript/0.awsrunShellScript/_script.sh: cannot execute: required file not found
failed to run commands: exit status 127
asked 3 months ago47 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions