Deploy Bicep files from Azure Cloud Shell
You can use Azure Cloud Shell to deploy a Bicep file. Currently you can only deploy a local Bicep file from the Cloud Shell.
You can deploy to any scope. This article shows deploying to a resource group.
To deploy a local Bicep file, you must first upload your Bicep file to your Cloud Shell session.
Sign in to the Cloud Shell.
Select either PowerShell or Bash.
Select Upload/Download files, and then select Upload.
Select the Bicep file you want to upload, and then select Open.
To deploy the Bicep file, use the following commands:
az group create --name ExampleGroup --location "South Central US" az deployment group create \ --resource-group ExampleGroup \ --template-file azuredeploy.bicep \ --parameters storageAccountType=Standard_GRS
- For more information about deployment commands, see Deploy resources with Bicep and Azure CLI and Deploy resources with Bicep and Azure PowerShell.
- To preview changes before deploying a Bicep file, see Bicep deployment what-if operation.