Azure Automation Schedule

This page shows how to write Terraform and Azure Resource Manager for Automation Schedule and write them securely.

azurerm_automation_schedule (Terraform)

The Schedule in Automation can be configured in Terraform with the resource name azurerm_automation_schedule. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub
resource "azurerm_automation_schedule" "once-a-week" {
  name                    = "once-a-week"
  resource_group_name     = azurerm_automation_account.resource-monitor.resource_group_name
  automation_account_name =
  frequency               = "Week"
  interval                = 1
resource "azurerm_automation_schedule" "vmstartup" {
  name                    = "vm-startup-schedule"
  resource_group_name     =
  automation_account_name =
  frequency               = "Day"
  interval                = 1

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).


Explanation in Terraform Registry

Manages a Automation Schedule.

Microsoft.Automation/automationAccounts/schedules (Azure Resource Manager)

The automationAccounts/schedules in Microsoft.Automation can be configured in Azure Resource Manager with the resource name Microsoft.Automation/automationAccounts/schedules. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Frequently asked questions

What is Azure Automation Schedule?

Azure Automation Schedule is a resource for Automation of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure Automation Schedule?

For Terraform, the mozilla-platform-ops/relops_infra_as_code and paul-p-cb/azure_automation source code examples are useful. See the Terraform Example section for further details.