-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_automation_runbook doesn't create python runbook. #1602
Comments
I just noticed that it shows the content link being a ps1 file. I can confirm that it doesn't matter if its a py file, it still doesn't set the runbook type correctly. |
Upstream issue: Azure/azure-sdk-for-go#2256 |
For reference, sounds like the problem might start with Azure/azure-rest-api-specs#3457 |
If this is going to be an enhancement that relies on upstream work, I suggest that you clarify in the documentation what the script type is and that python runbooks are not yet supported. |
Bump on this issue. I'd love to use this feature. If it isn't coming (last update was 7/20/2018), can you update the documentation please? |
Any news ? |
Anything? |
Does anyone have an idea of where it breaks down? We want to use Python for our Runbooks, but it doesn't seem like it's possible atm. |
I can't believe I hit a terraform limit that is 2 years old. lol |
It has been 2 years and Azure is just not doing its job! |
I have just hit this problem too. If you use the API directly (even the 2015 version) specifying the runbook type as "Python3" works.......... (Anyone testing will need to update the URI to something valid for it to succeed.) However even the latest version of the API specs still dont list Python as an option...https://github.com/Azure/azure-rest-api-specs/blob/782bab9c34014092f48de95874a71e7ecd1a9bba/specification/automation/resource-manager/Microsoft.Automation/stable/2019-06-01/runbook.json#L1154 |
Any news on this ? from what i understood it is possible if you hit directly the api, will terraform manage this sooner or later ? |
Any update on AzureRM provider support for Python runbooks? Thanks |
I reached out Microsoft support regarding this issue and tried to explain the discrepancy between implementation and documentation. They will get back to me soon. |
Hello, Is there any type of update on this issue from any source? It still seems to be an issue with azurerm 3.19.1 I've zipped and attached the basic testing that I did. Running
Gives this result
|
It looks like this has now been resolved by #18921 so this can be closed now. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform Version
Terraform v0.11.7
Affected Resource(s)
Terraform Configuration Files
Expected Behavior
Actual Behavior
Important Factoids
The documentation is vague on if TF supports creating python based runbooks. It says the following:
runbook_type - (Required) The type of the runbook - can be either Graph, GraphPowerShell, GraphPowerShellWorkflow, PowerShellWorkflow, PowerShell or Script.
I would assume that Script is a python runbook since the valid types of runbooks are:
The text was updated successfully, but these errors were encountered: