github.com/loicalbertin/terraform@v0.6.15-0.20170626182346-8e2583055467/examples/azure-vm-specialized-vhd-existing-vnet/variables.tf (about) 1 variable "resource_group" { 2 description = "Name of the resource group in which to deploy your new Virtual Machine" 3 } 4 5 variable "existing_vnet_resource_group" { 6 description = "Name of the existing resource group in which the existing vnet resides" 7 } 8 9 variable "location" { 10 description = "The location/region where the virtual network resides." 11 default = "southcentralus" 12 } 13 14 variable "hostname" { 15 description = "This variable is used in this template to create the domain name label as well as the virtual machine name. Must be unique." 16 } 17 18 variable "os_type" { 19 description = "Type of OS on the existing vhd. Allowed values: 'windows' or 'linux'." 20 default = "linux" 21 } 22 23 variable "os_disk_vhd_uri" { 24 description = "Uri of the existing VHD in ARM standard or premium storage" 25 } 26 27 variable "existing_storage_acct" { 28 description = "The name of the storage account in which your existing VHD and image reside" 29 } 30 31 variable "existing_virtual_network_name" { 32 description = "The name for the existing virtual network" 33 } 34 35 variable "existing_subnet_name" { 36 description = "The name for the existing subnet in the existing virtual network" 37 } 38 39 variable "existing_subnet_id" { 40 description = "The id for the existing subnet in the existing virtual network" 41 } 42 43 variable "address_space" { 44 description = "The address space that is used by the virtual network. You can supply more than one address space. Changing this forces a new resource to be created." 45 default = "10.0.0.0/16" 46 } 47 48 variable "subnet_prefix" { 49 description = "The address prefix to use for the subnet." 50 default = "10.0.10.0/24" 51 } 52 53 variable "storage_account_type" { 54 description = "Defines the type of storage account to be created. Valid options are Standard_LRS, Standard_ZRS, Standard_GRS, Standard_RAGRS, Premium_LRS. Changing this is sometimes valid - see the Azure documentation for more information on which types of accounts can be converted into other types." 55 default = "Standard_GRS" 56 } 57 58 variable "vm_size" { 59 description = "Specifies the size of the virtual machine." 60 default = "Standard_DS1_v2" 61 } 62 63 variable "image_publisher" { 64 description = "name of the publisher of the image (az vm image list)" 65 default = "Canonical" 66 } 67 68 variable "image_offer" { 69 description = "the name of the offer (az vm image list)" 70 default = "UbuntuServer" 71 } 72 73 variable "image_sku" { 74 description = "image sku to apply (az vm image list)" 75 default = "16.04-LTS" 76 } 77 78 variable "image_version" { 79 description = "version of the image to apply (az vm image list)" 80 default = "latest" 81 } 82 83 variable "admin_username" { 84 description = "administrator user name" 85 default = "vmadmin" 86 } 87 88 variable "admin_password" { 89 description = "administrator password (recommended to disable password auth)" 90 }