Skip to content

azurermAutomationHybridRunbookWorkerGroup

Manages a Automation Hybrid Runbook Worker Group.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as azurerm from "./.gen/providers/azurerm";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: azurerm.
For a more precise conversion please use the --provider flag in convert.*/
new azurerm.automationHybridRunbookWorkerGroup.AutomationHybridRunbookWorkerGroup(
  this,
  "example",
  {
    automation_account_name: "example",
    name: "example",
    resource_group_name: "example",
  }
);

Arguments Reference

The following arguments are supported:

  • automationAccountName - (Required) The name of the Automation Account in which the Runbook Worker Group is created. Changing this forces a new resource to be created.

  • name - (Required) The name which should be used for this Automation Account Runbook Worker Group. Changing this forces a new resource to be created.

  • resourceGroupName - (Required) The name of the Resource Group where the Automation should exist. Changing this forces a new Automation to be created.


  • credentialName - (Optional) The name of resource type azurermAutomationCredential to use for hybrid worker.

Attributes Reference

In addition to the Arguments listed above - the following Attributes are exported:

  • id - The ID of the Automation Hybrid Runbook Worker Group.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • create - (Defaults to 30 minutes) Used when creating the Automation.
  • read - (Defaults to 5 minutes) Used when retrieving the Automation.
  • update - (Defaults to 10 minutes) Used when updating the Automation.
  • delete - (Defaults to 10 minutes) Used when deleting the Automation.

Import

Automations can be imported using the resourceId, e.g.

terraform import azurerm_automation_hybrid_runbook_worker_group.example /subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/group1/providers/Microsoft.Automation/automationAccounts/account1/hybridRunbookWorkerGroups/grp1