From 24f9d818c4af593abcf5ac44486fdabd73d66ef7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 15 Aug 2025 19:19:02 +0000 Subject: [PATCH 1/2] Initial plan From 832f0109c00f74ab291ebff15d3f754e4c526ab4 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 15 Aug 2025 19:22:53 +0000 Subject: [PATCH 2/2] Update App Service Plan SKU from F1 to S3 to match live infrastructure Co-authored-by: mrsharm <68247673+mrsharm@users.noreply.github.com> --- main.bicep | 4 ++-- main.json | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 2 deletions(-) create mode 100644 main.json diff --git a/main.bicep b/main.bicep index 3625799..424c0a3 100644 --- a/main.bicep +++ b/main.bicep @@ -9,8 +9,8 @@ resource appServicePlan 'Microsoft.Web/serverfarms@2022-03-01' = { name: appServicePlanName location: location sku: { - name: 'F1' - tier: 'Free' + name: 'S3' + tier: 'Standard' } kind: 'app' } diff --git a/main.json b/main.json new file mode 100644 index 0000000..99e17d8 --- /dev/null +++ b/main.json @@ -0,0 +1,56 @@ +{ + "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#", + "contentVersion": "1.0.0.0", + "metadata": { + "_generator": { + "name": "bicep", + "version": "0.37.4.10188", + "templateHash": "7193739432442965847" + } + }, + "parameters": { + "location": { + "type": "string", + "defaultValue": "[resourceGroup().location]" + }, + "appServicePlanName": { + "type": "string", + "defaultValue": "cpu-app20250714124552Plan" + }, + "webAppName": { + "type": "string", + "defaultValue": "test_webapp" + } + }, + "resources": [ + { + "type": "Microsoft.Web/serverfarms", + "apiVersion": "2022-03-01", + "name": "[parameters('appServicePlanName')]", + "location": "[parameters('location')]", + "sku": { + "name": "S3", + "tier": "Standard" + }, + "kind": "app" + }, + { + "type": "Microsoft.Web/sites", + "apiVersion": "2022-03-01", + "name": "[parameters('webAppName')]", + "location": "[parameters('location')]", + "properties": { + "serverFarmId": "[resourceId('Microsoft.Web/serverfarms', parameters('appServicePlanName'))]" + }, + "dependsOn": [ + "[resourceId('Microsoft.Web/serverfarms', parameters('appServicePlanName'))]" + ] + } + ], + "outputs": { + "webAppUrl": { + "type": "string", + "value": "[format('https://{0}.azurewebsites.net', parameters('webAppName'))]" + } + } +} \ No newline at end of file