In response to @nhoughto concerns in issue #1 , I have added support for update and made some various other small improvements
Key features;
there is now an update lifecycle command for the shell script resource. It is optional, if you choose not to implement it then your resource will simply be destroyed and recreated when an event would occur to update the resource. Changes to environment variables or the output attribute will trigger an update.
removed stdout and stderr as outputs of both resources. they are still available in the logs, but all state management is done through the output and environment attributes now. In order to output state from the commands, it is necessary to output to >&3. This has a side effect of removing the need to output many things to > /dev/null as was previously the case and was very confusing.
added more test cases for each possible configuration of the resources
updated README.md
improved logging and error handling
generally cleaned up and organized code a bit better
In response to @nhoughto concerns in issue #1 , I have added support for update and made some various other small improvements
Key features;