@waldenraines, thanks for the feedback.  Based on our discussion offline, since the promise needs to be on an instance and in this case the environment is not, I'm leaving the code as it is for this case.  That said, for other cases where a resource instance is used, I agree it is much cleaner.