Skip to content

InsideCommunity/azurerm_linux_vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azurerm_linux_vm

Deploy Azure Linux virtual machine with a dedicated Terraform module.

Requirements

  • A Resource Group
  • A Network Interface

Providers

Name Version
azurerm n/a

Modules

No modules.

Resources

Name Type
azurerm_linux_virtual_machine.az_vm_linux resource

Inputs

Name Description Type Default Required
admin_password The Password which should be used for the local-administrator on this Virtual Machine. string "@dminP@44m0rD" no
admin_username The username of the local administrator used for the Virtual Machine. string "adminuser" no
computer_name Specifies the Hostname which should be used for this Virtual Machine. string "" no
image_offer Specifies the offer of the image used to create the virtual machines. string "UbuntuServer" no
image_publisher Specifies the publisher of the image used to create the virtual machines. string "Canonical" no
image_sku Specifies the SKU of the image used to create the virtual machines. string "18.04-LTS" no
image_version Specifies the version of the image used to create the virtual machines. string "latest" no
location The Azure location where the Linux Virtual Machine should exist. string n/a yes
network_interface_ids A list of Network Interface ID's which should be attached to this Virtual Machine. The first Network Interface ID in this list will be the Primary Network Interface on the Virtual Machine. list(string) n/a yes
os_disk_caching The Type of Caching which should be used for the Internal OS Disk. Possible values are None, ReadOnly and ReadWrite. string "ReadWrite" no
os_disk_storage_account_type The Type of Storage Account which should back this the Internal OS Disk. Possible values are Standard_LRS, StandardSSD_LRS and Premium_LRS. string "Standard_LRS" no
public_key_path The Public Key which should be used for authentication, which needs to be at least 2048-bit and in ssh-rsa format. string "~/.ssh/id_rsa.pub" no
resource_group_name The name of the Resource Group in which the Linux Virtual Machine should be exist. string n/a yes
vm_auth_method Authentication method: ssh_key or password string "password" no
vm_name The name of the Linux Virtual Machine. string n/a yes
vm_size The SKU which should be used for this Virtual Machine, such as Standard_F2. string "Standard_F2" no

Outputs

Name Description
vm_id The ID of the Linux Virtual Machine.
vm_name The Name of the Linux Virtual Machine.

Releases

No releases published

Packages

No packages published

Languages