Got to confirm that this LWRP really accepts only_if or not_if, but if it does use only_if or not_if instead of the if statement around it. That way the service is still known to other resources but didn't do anything if condition is not met.