title: Deploy of Arm Template with Logic Apps throws Error : Data sinks can’t be reused in different settings on the same category for the same resource
body: <p>So I have setup a deployment of an Arm Template with some Logic Apps with some related diagnostic setting for Event hub, see img.
  <a href="https://i.stack.imgur.com/vlaac.png" rel="nofollow noreferrer">Event Hub Settings</a></p>
  
  <p>However, when deploying the same template again, we get the error: "Data sinks can’t be reused in different settings on the same category for the same resource". </p>
  
  <p>And the solution is to remove the diagnostic settings before a new deploy. But I don't want to manually do this each time we do a new deploy. </p>
  
  <p>Have someone figured out a workaround for this? </p>
  
  <p>Thanks! </p>