Created
August 25, 2022 09:49
-
-
Save papeMK2/58ee3bb23fb50b276cf03bcf2bb7883e to your computer and use it in GitHub Desktop.
CreateStagingSlot
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 prId string | |
param appServiceName string | |
param location string = resourceGroup().location | |
resource slot 'Microsoft.Web/sites/slots@2022-03-01' = { | |
name: '${appServiceName}/pr-${prId}' | |
location: location | |
kind: 'app' | |
properties:{} | |
} |
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
az deployment group create --resource-group rg-lab --template-file main.bicep ^ | |
--parameters prId=1 ^ | |
--parameters appServiceName=app-appservice-lab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment