# general


11/14/2019, 2:06 PM
Is there a prescribed way for running custom (local) logic after provisioning resources with Pulumi, or is this what custom hooks aim to address? Scenario (which only applies to development examples for me at this point): Provision an Application Insights instance in Azure and set a local user secret with the resulting Instrumentation Key. In my case, I'm using dotnet user secrets (though this question isn't specific to dotnet). I've done something similar with a Terraform local provisioner:
Would still be interested if there is any guidance around this, but in the meantime I've been able to accomplish this with a dynamic provider