none
ARM Template update existing resources RRS feed

  • Question

  • Hi, 

    Im deploying WebApps using ARM and want to present these endpoints through AppGateway. App gateway is already deployed and hosting multiple backend pools/rules etc. 

    Looking through the documentation i can see that you can use the ARM tempalte update resource function, but it states that you need specifiy all the existing configuration otherwise it will get over written by the update. 

    So this would be a issue becuase the update is meant to be dynamic? 

    Am i understanding this correctly  or is there a better way?

    https://docs.microsoft.com/en-us/azure/architecture/building-blocks/extending-templates/update-resource

    Wednesday, August 14, 2019 2:08 PM

All replies

  • Yes ,your understanding is correct.Whenever you update a resource, the existing configuration of the resource should be mentioned along the update  configuration. If in case , if you mention just the updated configuration, the existing configuration is deleted and the resource will be created with only update configuration.

    AFAIK, there aren't any other ways to take care of it.

    Hope this helps!

    Wednesday, August 21, 2019 5:15 AM
    Moderator