Azure Bicep - Deploy Pane
Working with Azure Bicep using Visual Studio Code, is as native as an experience as you can get, made even better by the Bicep Visual Studio Code extension.
The Bicep Visual Studio Code extension keeps evolving, with a recent (Experimental) feature being added called the Deploy Pane.
The Deployment Pane is a UI panel in VSCode that allows you to connect to your Azure subscription and execute validate, deploy & whatif operations and get instant feedback without leaving the editor.
The Deploy Pane, brings together some key actions:
- Deploy
- Validate
- What-If
The Deploy step, will deploy the Bicep file using the Subscription Scope and ID specified in the pane. The validate step, will validate that the Bicep syntax is correct for the Azure Resource Manager to process the template. The What-If step, will let you know what it will deploy and what changes will be made, without having to deploy or touch any resources.
To enable the new Experimental Feature, make sure you are running the latest version of both Bicep, and the Bicep Visual Studio Code extension.
- Click on Settings
- Expand Extensions
- Navigate to: Bicep
- Check the box labelled: Experimental: Deploy Pane
Once enabled, you will see the new Deploy Pane, appear in the top right of your Visual Studio code interface, next to Bicep Visualizer, once you have a Bicep file loaded.
If you have any feedback regarding this extension, make sure to add your feedback to the azure/bicep issues