How to deploy an Automation Account with Python Packages through Terraform?

Kenneth Huddleston 145 Reputation points

I am deploying a Terraform managed Azure Automation resource. In that resource, I have Python Runbooks that require non-default Python Packages to run. I can provide these packages through the UI, but how do I implement them with Terraform? Looking at Microsofts Terraform provider docs, the only resource I found that looked relevant was:

This resource specified automation "module" however, which usually refers to PowerShell runbooks. Is there a separate terraform resource for Python Packages? Is it the same?

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,162 questions
{count} votes