Azure Automation Dsc Nodeconfiguration

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

azurerm_automation_dsc_nodeconfiguration (Terraform)

The Dsc Nodeconfiguration in Automation can be configured in Terraform with the resource name azurerm_automation_dsc_nodeconfiguration. The following sections describe 5 examples of how to use the resource and its parameters.

Example Usage from GitHub

automation_dsc_nodeconfiguration_test.tf#L26
resource "azurerm_automation_dsc_nodeconfiguration" "zeroNodes" {
  name                    = "test.localhost"
  resource_group_name     = azurerm_resource_group.example.name
  automation_account_name = azurerm_automation_account.example.name
  depends_on              = [azurerm_automation_dsc_configuration.example]

automation_dsc_nodeconfiguration_test.tf#L26
resource "azurerm_automation_dsc_nodeconfiguration" "zeroNodes" {
  name                    = "test.localhost"
  resource_group_name     = azurerm_resource_group.example.name
  automation_account_name = azurerm_automation_account.example.name
  depends_on              = [azurerm_automation_dsc_configuration.example]

main.tf#L7
resource "azurerm_automation_dsc_nodeconfiguration" "this" {
  automation_account_name = var.automation_account_name
  content_embedded        = var.content_embedded
  name                    = var.name
  resource_group_name     = var.resource_group_name

main.tf#L7
resource "azurerm_automation_dsc_nodeconfiguration" "this" {
  automation_account_name = var.automation_account_name
  content_embedded        = var.content_embedded
  name                    = var.name
  resource_group_name     = var.resource_group_name

AzureAutomation.tf#L36
resource "azurerm_automation_dsc_nodeconfiguration" "dsc_nodeconfig" {
  name                      = "HelloWorld.vmAA"
  automation_account_name   = azurerm_automation_account.azauto.name
  resource_group_name       = azurerm_resource_group.rg.name
  depends_on                = [azurerm_automation_dsc_configuration.dsc_config]
  content_embedded          = <<mofcontent

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 a Automation DSC Node Configuration.

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

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

Azure Automation Dsc Nodeconfiguration 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 Dsc Nodeconfiguration?

For Terraform, the gilyas/infracost, infracost/infracost and kevinhead/azurerm source code examples are useful. See the Terraform Example section for further details.