Azure policy recreation

Hi Team,

I am trying to apply azure policy using the terraform but problem i am facing is when even i am updating the policy rules or parameter then terraform is first destroying the existing policy and creating new policy with updated code which is not i am looking for .

is there any way in terraform configuration where we can just update policy and deploy so terraform should not delete and create new policy .

Note: I tried ignore_change lifecycle but its not working .

Its would be very helpful if any input