found the missing environment variable allowing aws cli to work from cron