Created
May 12, 2023 05:38
-
-
Save papeMK2/fbc0393c9f863c516301c6042cf6c797 to your computer and use it in GitHub Desktop.
App Service with bicepparam
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param location string = resourceGroup().location | |
var suffix = guid('guid') | |
resource plan 'Microsoft.Web/serverfarms@2022-03-01' = { | |
name: 'plan-demo-lab-${suffix}' | |
location: location | |
kind: 'app' | |
sku: { | |
name: 'B1' | |
} | |
} | |
resource app 'Microsoft.Web/sites@2022-03-01' = { | |
name: 'app-demo-lab-${suffix}' | |
location: location | |
kind: 'app' | |
identity: { | |
type: 'SystemAssigned' | |
} | |
properties: { | |
serverFarmId: plan.id | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"experimentalFeaturesEnabled": { | |
"paramsFiles": true | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using 'main.bicep' | |
param location = 'japaneast' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment