Azure Bicep: Decompiling ARM Templates

Already have a library of ARM templates? You don’t need to rewrite them manually.

# Install Bicep CLI
az bicep install

# Decompile JSON to Bicep
bicep decompile main.json

The decompiler is surprisingly good. It converts resources, parameters, and variables. It might need a little manual clean-up (fixing variable names), but it does 95% of the work.


Discover more from C4: Container, Code, Cloud & Context

Subscribe to get the latest posts sent to your email.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.