Easy way to try Bicep

Azhar Khuwaja 46 Reputation points
2022-01-31T09:31:17.46+00:00

Hi,

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,
Azhar

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

Accepted answer
  1. KarishmaTiwari-MSFT 19,032 Reputation points Microsoft Employee
    2022-02-03T03:06:32.797+00:00

    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 Khuwaja 46 Reputation points
    2022-02-09T06:04:57.597+00:00

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

    1 person found this answer helpful.
    0 comments No comments