Episode
How to convert JSON files to Bicep in VS Code faster!
with April Edwards, PC Chan
Copying and pasting pieces from a sample is a common way to get started with Bicep. The paste as Bicep new feature shipped in the Bicep VS Code extension v0.14 allows developers to copy ARM samples and paste directly as Bicep.
While most of our samples are now available as Bicep as well as ARM, we still occasionally run into samples that are ARM only. Instead of running additional command like az bicep decompile
, you can get Bicep code directly by pasting:
- Full ARM JSON templates
- Single resource or multiple resources
- JSON values, such as objects, arrays, and strings
Chapters
- 02:23 - Demo: copy entire ARM template JSON sample and paste directly into a .bicep file
- 04:00 - Demo: copy a single resource object
- 04:16 - Demo: copy multiple resource objects
- 04:35 - Demo: copy value of a parameter
Recommended resources
Related episodes
Connect
- April Edwards | Twitter: @TheAprilEdwards | LinkedIn: in/azureapril
Copying and pasting pieces from a sample is a common way to get started with Bicep. The paste as Bicep new feature shipped in the Bicep VS Code extension v0.14 allows developers to copy ARM samples and paste directly as Bicep.
While most of our samples are now available as Bicep as well as ARM, we still occasionally run into samples that are ARM only. Instead of running additional command like az bicep decompile
, you can get Bicep code directly by pasting:
- Full ARM JSON templates
- Single resource or multiple resources
- JSON values, such as objects, arrays, and strings
Chapters
- 02:23 - Demo: copy entire ARM template JSON sample and paste directly into a .bicep file
- 04:00 - Demo: copy a single resource object
- 04:16 - Demo: copy multiple resource objects
- 04:35 - Demo: copy value of a parameter
Recommended resources
Related episodes
Connect
- April Edwards | Twitter: @TheAprilEdwards | LinkedIn: in/azureapril
Have feedback? Submit an issue here.