Hi, Here you will find ARM Templates for different scenarios. In your case these are the first two - Create a Recovery Services vault and Enable Replication for Azure VMs. Using Bicep decompile you can convert the ARM templates into Bicep templates. If your VM is in different resource group than the site recovery vault you will need to deploy the VM in one resource group and start deployment in another resource group via bicep module. Please "Accept the answer" if the information helped you. This will help us and others in the community as well.
How to automate azure site recovery vm replication in azure bicep
Satish B
70
Reputation points
How to automate azure site recovery vm replication in azure bicep
1 answer
Sort by: Most helpful
-
Stanislav Zhelyazkov 26,181 Reputation points MVP
2024-01-12T11:28:03.6333333+00:00