caf-vm

aztfmod/caf-vm/azurerm

Terraform Module HCL AZURERM ✓ Verified ⏱ stale 3y 1mo

Azure Virtual Machine module for Cloud Adoption Framework for Azure landing zones

Install

module "caf-vm" {
source = "aztfmod/caf-vm/azurerm"
version = "0.1.0"
}
⭐ Source on GitHub 📦 Registry page

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)

NameTypeDescriptionDefault
os_profile_secretsstring required
vm_sizestring(Required) Azure VM size name, to list all images available in a regionm use : a required
conventionstring(Required) Naming convention to use. required
tagsstring required
namestring(Required) Specifies the name of the Virtual Machine. Changing this forces a new required
storage_image_referencestring required
locationstring(Required) Specifies the Azure Region where the Virtual Machine exists. Changing required
os_profilestring(Required) A windows or Linux profile as per documentation required
resource_group_namestring(Required) Specifies the name of the Resource Group in which the Virtual Machine required
network_interface_idslist(string)(Required) A list of Network Interface ID's which should be associated with the required
storage_os_diskstring required
prefixstring required
primary_network_interface_idstring(Required) The primary Network Interface ID's which should be associated with th required
osstringDefine if the operating system is 'Linux' or 'Windows'"Windows"

Outputs (8)

name
id
object
network_interface_ids
primary_network_interface_id
admin_username
ssh_private_key_pem
msi_system_principal_id

Resources (2)

azurerm_virtual_machinetls_private_key

Details

FrameworkTerraform Module
LanguageHCL
Version0.1.0
Cloud AZURERM
★ Stars1
Forks18
Total downloads6.9k
Inputs14
Outputs8
Resources2
Examples2
LicenseMIT
Namespaceaztfmod
Updated