serverless / examples

Serverless Examples – A collection of boilerplates and examples of serverless architectures built with the Serverless Framework on AWS Lambda, Microsoft Azure, Google Cloud Functions, and more.
https://www.serverless.com/examples/
Other
11.43k stars 4.47k forks source link

Azure example fails to deploy #151

Open jchris opened 7 years ago

jchris commented 7 years ago

Following the instructions with these steps I get an error:

npm i -g azure-cli
azure login
azure account show
azure ad sp create -n NAME -p PASSWORD
azure role assignment create --objectId bad1234dad5678cab -o Contributor

azure account show gives the expected result at this point, and I set up my environment variables.

and then in the examples/azure-node-simple-http-endpoint directory, after editing serverless.yml to include my Azure credentials.

npm install
serverless deploy

But the end result is a failure I can only see in the Azure web console. "Website with given name azfx-node-http already exists"

The serverless debug output only includes this: 'At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.'

jchris commented 7 years ago

The quickstart did work for me so maybe that's helpful info?