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.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho