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.
Deploy local Bicep file
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
Next steps
- 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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for