The problem I am not facing is, salt-cloud uses random uuid in the deployment folder and the profile has /tmp/.saltcloud/deploy.sh and is unable to find it
sftp> put /tmp/tmp10r9lyzg /tmp/.saltcloud-28b7ffeb-5fe8-4215-b3d6-8b56dfd438f1/deploy.sh
Uploading /tmp/tmp10r9lyzg to /tmp/.saltcloud-28b7ffeb-5fe8-4215-b3d6-8b56dfd438f1/deploy.sh
/tmp/tmp10r9lyzg 100% 296KB 24.2MB/s 00:00
Warning: Permanently added '10.36.108.9' (ECDSA) to the list of known hosts.
Authorized users only. All activity will be monitored and reported.
Connection to 10.36.108.9 closed.
Warning: Permanently added '10.36.108.9' (ECDSA) to the list of known hosts.
Authorized users only. All activity will be monitored and reported.
Connection to 10.36.108.9 closed.
sh: /tmp/.saltcloud/deploy.sh: No such file or directory