Currently I am uploading manually custom modules for azure runtime automation runbooks in the azure portal. Then I also create manually a runbook which executes my custom module. I would like to do this via an ARM script.
I assume everything you can do in the azure portal, is also possible in ARM.
I am new to ARM, but deployed a website through ARM. That was relatively easy as I could just select Web App as resource. But in the Add Resource list, I can't find anything related to runbook or modules. Where can I find templates for this?
It is possible. You could check this link: Deploy Custom Azure Automation Integration Modules Using ARM Templates.