Azure / boilerplate-azurefunctions

A boilerplate project for getting started with Azure Functions Serverless Framework plugin
MIT License
19 stars 10 forks source link

Correct ad sp show command in documentation #7

Open ciwchris opened 7 years ago

ciwchris commented 7 years ago

When trying to retrieve a service principal an error occurs:

% azure ad sp -c my-app
error:   '-c' is not an azure command. See 'azure help'

It appears it should be: azure ad sp show -c my-app

The blog article is also incorrect here. Also, this article has two step 1's in the "Set up credentials" section. And the invoke command is incorrect:

  % serverless invoke function -f httpjs

  WARNING: You are running v1.7.0. v1.8.0 will include the following breaking changes:
    - Will replace IamPolicyLambdaExecution resource with inline policies -> https://git.io/vDilm
    - "sls info" will output the short function name rather than the lambda name -> https://git.io/vDiWx

  You can opt-out from these warnings by setting the "SLS_IGNORE_WARNING=*" environment variable.

  Serverless Error ---------------------------------------

     Command "invoke function" not found, Run "serverless
     help" for a list of all available commands.

  Stack Trace --------------------------------------------

ServerlessError: Command "invoke function" not found, Run "serverless help" for a list of all available commands

Appears it should be: serverless invoke -f httpjs