New Deployment Type: Azure Automation runbook
Opened this issue · 2 comments
I'd like to use PSDeploy to deploy runbooks to Azure Automation so I'm going to write a new deployment type for that
Awesome! Hit me up if you have any questions or run into any issues creating this!
So I've been taking myself down a path where I'm writing runbooks and then also a bunch of functions that go specifically with that runbook. So I can pester test them, I've put the functions into another file so they can be tested without executing the whole runbook. I don't want to make them a module because they're too closely coupled with the code to be useful anywhere else.
To keep our Azure space clean my plan was to concatenate the runbook and it's functions into one file instead of deploying two runbooks, one of which will never be executed, only dot sourced.
Is this something that would be useful in PSDeploy? I haven't looked at the PSDeploy framework enough to know if it's something the module would support. I can just as easily put the files together in a script and then pass a single script to PSDeploy, but I'm thinking if it's valuable to me it might be valuable to others?