[FEATURE REQ] bicep files as an alternative to ARM templates
See original GitHub issueLibrary name
Azure.ResourceManager.Resources
Please describe the feature.
At the moment it seems I have the option to create a deployment by specifying a JSON template like this:
new DeploymentProperties(DeploymentMode.Incremental) { Template = "{}" // well-formatted JSON here }
Would it be possible to add bicep support? I know it’s possible to convert from bicep to ARM but I would rather just keep the bicep file and not also its corresponding ARM template in source control.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Get Started With Azure Bicep - Alternative To ARM Templates
Azure Bicep is an abstraction built on top of Azure ARM Templates and Azure Resource Manager that offers a cleaner code syntax with...
Read more >Azure Resource Manager template specs in Bicep
You can use Azure CLI or Azure PowerShell to create template specs by providing Bicep files. The Bicep files are transpiled into ARM...
Read more >Bicep - Why do we need yet another way to deploy stuff in ...
Bicep is an excellent replacement for ARM templates. Anywhere you are using ARM templates, you should consider switching to Bicep. And although ...
Read more >Using Bicep to create ARM Templates - Srinivasa Avanigadda
Bicep is a transparent abstraction over ARM and ARM templates, which means anything that can be done in an ARM Template can be...
Read more >Would I replace Terraform with Bicep
To be able to work with Bicep files instead of ARM templates, you need the Bicep CLI. This is the part of the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @ranul-pallemulle thanks for this request, but I do not think the SDK is going to support this at least recently. The SDK is generated from the swagger and the swagger only accepts arm template in JSON.
As a workaround, you could always use external tools like this to decompile bicep into JSON arm template and then pass the json into the SDK.
Hi @ranul-pallemulle. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.