Skip to content

maintenance/assignment_virtual_machine

Overview

This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.

Dependency diagram (Mermaid)

graph TD azurerm_maintenance_assignment_virtual_machine.maintenance_assignment_virtual_machine["azurerm_maintenance_assignment_virtual_machine.maintenance_assignment_virtual_machine"]

Module Reference

Category: maintenance
Path: modules/maintenance/assignment_virtual_machine
Azure Resources: azurerm_maintenance_assignment_virtual_machine

Inputs

Name Description Type Required Default Validation
"global_settings" "Global settings object (see module README.md)" any yes - -
"client_config" "Client configuration object (see module README.md)." any yes - -
"tags" "Tags to be used for this resource deployment." map(any) no {} -
"base_tags" "Base tags for the resource to be inherited from the resource group." map(any) no {} -
"location" "(Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to ... string yes - -
"maintenance_configuration_id" "(Required) Specifies the ID of the Maintenance Configuration Resource. Changing this forces a new resource to be cre... string yes - -
"virtual_machine_id" "(Required) Specifies the Virtual Machine ID to which the Maintenance Configuration will be assigned. Changing this f... string yes - -

Outputs

Name Description Sensitive Value
"id" "The ID of the Maintenance Assignment." - azurerm_maintenance_assignment_virtual_machine.maintenance_assignment_virtual_machine.id

Sources

  • modules/maintenance/assignment_virtual_machine/locals.tf
  • modules/maintenance/assignment_virtual_machine/main.tf
  • modules/maintenance/assignment_virtual_machine/module.tf
  • modules/maintenance/assignment_virtual_machine/outputs.tf
  • modules/maintenance/assignment_virtual_machine/variables.tf