Null_resource auto removal

Hi, we currently use null_resources to provision/configure certain components with powershell/cli in Azure.

The next time the Terraform script is run, the powershell command won’t run due to the existence of the null_resource in the state file. I therefore have a task to cleanup these null resources afterwards from the state file as I want them to run always when the Terraform script runs.

Is there an easier way to ensure that your powershell scrip will always executes? Maybe is there something else other than null_resources that would work better?