Diagram
A five-phase process flow showing the migration of Azure resources and ARM templates to Bicep: Convert, Migrate, Refactor, Test, and Deploy.
Migration Workflow
Migrating from ARM templates to Bicep follows a structured five-phase workflow. First, Convert: capture the ARM template and decompile it to Bicep using the CLI or Visual Studio Code. Second, Migrate: create a new Bicep file, copy over the resources, and manually add any elements that were missing from the decompiled output. Third, Refactor: update API versions, revise names, simplify expressions, modularize the code, and add comments. Fourth, Test: use the what-if operation to preview changes and perform test deployments to validate the template. Fifth, Deploy: roll out the Bicep template to production, ensuring a rollback plan and post-deployment validation are in place. This workflow ensures that the conversion is safe and that the resulting Bicep file is production-ready.
Domain 5 of 5
37 practice questions
Practice this DomainLast updated