caf-vm
aztfmod/caf-vm/azurerm
Azure Virtual Machine module for Cloud Adoption Framework for Azure landing zones
Install
README
Deploys an Azure Virtual Machine Creates an Azure Virtual Machine. This virtual machine can be created from: - Azure Gallery - Azure Shared Image Reference the module to a specific version (recommended): ``hcl module "vm" { source = "aztfmod/caf-container-registry/azurerm" version = "0.x.y" resource_group_name = var.rg asr_vault_name = var.name location = var.location tags = var.tags opslogs_retention_period = var.retention diagnostics_map = var.diagsmap la_workspace_id = var.laworkspace.id } `` Inputs | Name | Type | Default | Description | | -- | -- | -- | -- | | name | string | None | Specifies the name of the VM. Changing this forces a new resource to be created. | | resource_group_name | string | None | The name of the resource group in which to create the VM. Changing this forces a n
Inputs (14)
| Name | Type | Description | Default |
|---|---|---|---|
| os_profile_secrets | string | required | |
| vm_size | string | (Required) Azure VM size name, to list all images available in a regionm use : a | required |
| convention | string | (Required) Naming convention to use. | required |
| tags | string | required | |
| name | string | (Required) Specifies the name of the Virtual Machine. Changing this forces a new | required |
| storage_image_reference | string | required | |
| location | string | (Required) Specifies the Azure Region where the Virtual Machine exists. Changing | required |
| os_profile | string | (Required) A windows or Linux profile as per documentation | required |
| resource_group_name | string | (Required) Specifies the name of the Resource Group in which the Virtual Machine | required |
| network_interface_ids | list(string) | (Required) A list of Network Interface ID's which should be associated with the | required |
| storage_os_disk | string | required | |
| prefix | string | required | |
| primary_network_interface_id | string | (Required) The primary Network Interface ID's which should be associated with th | required |
| os | string | Define if the operating system is 'Linux' or 'Windows' | "Windows" |
Outputs (8)
nameidobjectnetwork_interface_idsprimary_network_interface_idadmin_usernamessh_private_key_pemmsi_system_principal_id