Deploy a single function lists files in directory


I am trying to deploy a single lambda function that I’ve updated. The command I run is:

sls deploy function -f NocRetriever -s test

But that doesn’t seem to do anything! It only lists the files in the directory.

What am I missing? I am running the command above from the directory where my serverless.yml file sits.

This is embarrassing! sls was something else on my Linux box, it was not serverless!

~ ❯ which sls
~ ❯

I confirmed by running the command serverless and I got:

~ ❯ serverless
zsh: command not found: serverless
~ ❯

Sorry guys.