AWS CLI commands using TestProject

I’m trying to get data from AWS IOT Core via Amazon CLI commands using TestProject.

I Installed and configured AWS CLI on my MAC M1 machine.
I tried to use The Shell Commands add-on with no success.
I guess It runs a different terminal instant on which the AWS CLI is not installed.

I tried running a script from my machine using the Shell command add-on with no success.
I also tried to perform a Rest API call to AWS servers but encountered a problem with the Signature calculation (AWS authentication - Build in in Postman tool)

The commands on my terminal are working but not with TestProject.

Any ideas on how to overcome this challenge?
Thanks!

Solved by pointing the path to the AWS folder before the AWS command in the shell command
(/usr/local/bin/aws…command input…)

1 Like