Azure-Samples / function-image-upload-resize

Sample function in Azure Functions that demonstrates how to upload and resize images in Azure Storage.
MIT License
66 stars 160 forks source link

Rename storage setting name to 'AzureWebJobsStorage' #1

Closed ggailey777 closed 6 years ago

ggailey777 commented 6 years ago

https://github.com/Azure-Samples/function-image-upload-resize/blob/b312604011353535c73476a65e0164fd94f146e8/imageresizerfunc/function.json#L8

When you create a function using CLI, a connection string app setting gets added automatically, which is named AzureWebJobsStorage and is connected to the storage account supplied in the az functionapp create command. @richardjortega or @Prozac777, can we just use this same app setting for the existing storage account in the function binding so we don't have to explicitly add another app setting? This will make the tutorial simpler (and I don't think there any need for 2 storage accounts).

Prozac777 commented 6 years ago

@ggailey777 @SyntaxC4 do you still want this changed? It's under a different name because I had to create the function in another datacenter, but it should work now that EG should be live everywhere.