-
Description: I am attempting to run an artisan command with the aws CLI How to reproduce: When I run this on the command line: aws lambda invoke --function-name MyFunction:alias--region us-west-2 --cli-binary-format raw-in-base64-out --payload '"artisan list"' response.json In fact, no matter what I pass to I get this as the response: {
"errorType": "Exception",
"errorMessage": "The command exited with a non-zero status code: 1",
"stackTrace": [
"#0 /var/task/vendor/bref/bref/src/Runtime/Invoker.php(34): {closure}()",
"#1 /var/task/vendor/bref/bref/src/Runtime/LambdaRuntime.php(91): Bref\\Runtime\\Invoker->invoke()",
"#2 /opt/bootstrap(65): Bref\\Runtime\\LambdaRuntime->processNextEvent()",
"#3 {main}"
]
} I have my function set up with both the What am I not doing correctly? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Try with |
Beta Was this translation helpful? Give feedback.
Try with
--log-type=Tail
to see the logs of what went wrong.