Skip to content

Instantly share code, notes, and snippets.

View sg3-141-592's full-sized avatar

Sean Gilligan sg3-141-592

View GitHub Profile
@sg3-141-592
sg3-141-592 / copyDeployment.json
Created November 3, 2023 20:25
Azure ARM Template that creates a storage account, copies a file from a specified url to a blob and returns a Sas token to it
{
// This Azure ARM Template creates a storage account, copies a file from a specified url to a blob and
// returns a Sas token to it. This is useful for deploying Azure Function Apps via WEBSITE_RUN_FROM_PACKAGE
// where you want the deployment to have it's own copy of the deployment package
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"storageAccountName": {
"type": "string"
},