Easy way to try Bicep

Azhar 46 Reputation points


I was looking for a simple way to experience Bicep (infrastructure as code) service for my AZ-305 course. I am very experienced in JSON templates but couldn't find an easier way to test/try Bicep for deploying a resource (let's say storage account).

I looked into instructions and it seems I have to download an VS Code Extension plus Azure CLI over my computer to make it work. Is there any simple way to try it over portal?

Many Thanks,

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
254 questions
0 comments No comments
{count} votes

Accepted answer
  1. KarishmaTiwari-MSFT 18,337 Reputation points Microsoft Employee

    Thanks for posting your query. From my understanding of your question, you are looking to try Bicep for deploying a resource in Azure via portal.

    Based on my research, it is currently not possible to achieve using Azure portal. At this point, you would need to install the editor VS code and CLI tools.

    Here are few resources on deploying Azure resources with Bicep that might be helpful to you:

    1. using Bicep and Azure Pipelines
    2. using Bicep and GitHub Actions

    You can also create and deploy ARM template specs in Bicep for later deployment. You can use Azure CLI or Azure PowerShell to create template specs by providing Bicep files. The Bicep files are transpiled into ARM JSON templates before they are stored. Currently, you can't import a Bicep file from the Azure portal to create a template spec resource.

    Hope that helps. Let me know if you have any further questions. Thanks.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Azhar 46 Reputation points

    thank you for all the feedback and comments. Appreciate everyone's help.
    Kind Regards,

    1 person found this answer helpful.
    0 comments No comments