question

AzharHKhuwaja-8829 avatar image
0 Votes"
AzharHKhuwaja-8829 asked AzharHKhuwaja-8829 answered

Easy way to try Bicep

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-dtl-arm-enviorments
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

karishmatiwari-msft avatar image
0 Votes"
karishmatiwari-msft answered karishmatiwari-msft edited

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AzharHKhuwaja-8829 avatar image
1 Vote"
AzharHKhuwaja-8829 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.