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
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]
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]
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
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
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
Parameters
-
automation_account_name
required - string -
configuration_name
optional computed - string -
content_embedded
required - string -
id
optional computed - string -
name
required - string -
resource_group_name
required - string -
timeouts
single block
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.