I find that my custom resource (not LWRP) gets a conflict with the variable "service_name" in the alert logic cookbook.
Create custom resource with attribute "service_name"
Create a runlist that includes alert_logic cookbok and recipe with custom resource Make sure alert logic is first in the run list (unproven theory)
The powershell script should run as follows:
sc.exe create 'NDConfigurationServer' binPath= C:\\SomeFolder\\ndConfServer.exe start= auto displayname= 'ND Configuration Server'
powershell script runs:
sc.exe create 'alert_logic' binPath= C:\\SomeFolder\\ndConfServer.exe start= auto displayname= 'ND Configuration Server'
https://discourse.chef.io/t/how-do-you-avoid-variable-conflicts-in-custom-resources/8296