-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
New resouce/feature. Link a azurerm schedule with a runbook #1955
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I've had a go at fleshing out the required resource. New or Affected Resource(s)
Potential Terraform Configurationresource "azurerm_automation_job_schedule" "example" {
name = "${azurerm_automation_schedule.my_schedule.name}"
runbook = "${azurerm_automation_runbook.my_runbook.name}"
parameters {
foo = "bar"
baz = "thing"
}
}
|
Subscribed to get to know when will be available. Very useful feature. |
Opened a PR to add this resource as I'm needing this (and a few other automation resources) myself. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@odee30 @ @Matasiete this is currently blocked on an upstream issue with the API |
That's a shame. Thanks for checking it out @katbyte |
As a workaround, I have used "azurerm_template_deployment" resource to implement this functionality, here is a code that works completely fine for me:
Do let me know if this helps! |
In addition to what @pranavdesai1900 has posted, if it happens that you get an error like this one: <title>404 - File or directory not found.</title> <style type="text/css"> </style> Is probably because you want to use a fancy name for the resource. This Azure API really likes this form (with the uuid):
|
This has been released in version 1.36.0 of the provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. As an example: provider "azurerm" {
version = "~> 1.36.0"
}
# ... other configuration ... |
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. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks! |
Community Note
Description
Hi team,
This request comes from the following thread #1711
From powershell it is possible to link runbooks with a schedule created in an automation account, as suggested @holmesb.
With terraform I can not find any resource that can do it.
To be able to close the minimum cycle of possibilities that an automation account allows, I think it is necessary to have this resource available,
The text was updated successfully, but these errors were encountered: