Skip to content

Instantly share code, notes, and snippets.

@chiguniiita
Last active March 20, 2022 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chiguniiita/73e0b4eb8a1dcb6eb366dc2606137fdb to your computer and use it in GitHub Desktop.
Save chiguniiita/73e0b4eb8a1dcb6eb366dc2606137fdb to your computer and use it in GitHub Desktop.
Bicep で Linux の App Service Plan を作る
param location string = resourceGroup().location
param name string = 'plan-${uniqueString(resourceGroup().id)}'
resource appServicePlan 'Microsoft.Web/serverfarms@2021-03-01' = {
name: name
location: location
kind: 'linux'
sku: {
name: 'F1'
}
properties: {
// true を指定しないと、OS が Windows の App Service Plan ができてしまう
reserved: true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment