Azure Automation Connection

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

azurerm_automation_connection (Terraform)

The Connection in Automation can be configured in Terraform with the resource name azurerm_automation_connection. The following sections describe 1 example of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L1
resource "azurerm_automation_connection" "azautomationconnection" {
  name                    = var.azAutomationConnectionName
  resource_group_name     = var.rg
  automation_account_name = var.azAutomationAccountName
  type                    = "AzureServicePrincipal"

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).

Parameters

Explanation in Terraform Registry

Manages an Automation Connection.

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

The automationAccounts/connections in Microsoft.Automation can be configured in Azure Resource Manager with the resource name Microsoft.Automation/automationAccounts/connections. 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 Connection?

Azure Automation Connection 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 Connection?

For Terraform, the vkarki/nginxdemo source code example is useful. See the Terraform Example section for further details.