Azure ARM JSON template - Add VM to Recovery Services Vault in different Resource Group

后端 未结 3 1065
陌清茗
陌清茗 2020-12-21 14:43

I\'m trying to add the functionality to add the VM to a recovery services vault to my existing Azure ARM JSON template that I use for deployment.

I\'ve used the code

3条回答
  •  醉梦人生
    2020-12-21 15:21

    If you are going to use that Nested Template make sure you add the VM that you provisioned in the first template as a DependsOn. This way when it runs the incremental deployment the VM is already there.

提交回复
热议问题