github.com/spirius/terraform@v0.10.0-beta2.0.20170714185654-87b2c0cf8fea/examples/azure-vm-custom-image-new-storage-account/variables.tf (about)

     1  variable "resource_group" {
     2    description = "Name of the resource group in which to deploy your new Virtual Machines"
     3  }
     4  
     5  variable "location" {
     6    description = "The location/region where the virtual network resides."
     7    default     = "southcentralus"
     8  }
     9  
    10  variable "hostname" {
    11    description = "This variable is used in this template to create various other names, such as vnet name, subnet name, storage account name, et. al."
    12  }
    13  
    14  variable "os_type" {
    15    description = "Type of OS on the existing vhd. Allowed values: 'windows' or 'linux'."
    16    default     = "windows"
    17  }
    18  
    19  variable "existing_storage_acct" {
    20    description = "The name of the storage account in which your existing VHD and image reside"
    21  }
    22  
    23  variable "existing_storage_acct_type" {
    24    description = "The type of the storage account in which your existing VHD and image reside"
    25    default     = "Standard_LRS"
    26  }
    27  
    28  variable "existing_resource_group" {
    29    description = "The name of the resource group in which your existing storage account with your existing VHD resides"
    30  }
    31  
    32  variable "address_space" {
    33    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."
    34    default     = "10.0.0.0/16"
    35  }
    36  
    37  variable "subnet_prefix" {
    38    description = "The address prefix to use for the subnet."
    39    default     = "10.0.0.0/24"
    40  }
    41  
    42  variable "storage_account_type" {
    43    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."
    44    default     = "Standard_LRS"
    45  }
    46  
    47  variable "vm_size" {
    48    description = "VM size of new virtual machine that will be deployed from a custom image."
    49    default     = "Standard_DS1_v2"
    50  }
    51  
    52  variable "image_publisher" {
    53    description = "name of the publisher of the image (az vm image list)"
    54    default     = "MicrosoftWindowsServer"
    55  }
    56  
    57  variable "image_offer" {
    58    description = "the name of the offer (az vm image list)"
    59    default     = "WindowsServer"
    60  }
    61  
    62  variable "image_sku" {
    63    description = "image sku to apply (az vm image list)"
    64    default     = "2012-R2-Datacenter"
    65  }
    66  
    67  variable "image_version" {
    68    description = "version of the image to apply (az vm image list)"
    69    default     = "latest"
    70  }
    71  
    72  variable "admin_username" {
    73    description = "Name of the local administrator account, this cannot be 'Admin', 'Administrator', or 'root'."
    74    default     = "vmadmin"
    75  }
    76  
    77  variable "admin_password" {
    78    description = "Local administrator password, complex password is required, do not use any variation of the word 'password' because it will be rejected. Minimum 8 characters."
    79  }
    80  
    81  variable "transfer_vm_name" {
    82    description = "Name of the Windows VM that will perform the copy of the VHD from a source storage account to the new storage account created in the new deployment, this is known as transfer vm. Must be 3-15 characters."
    83    default     = "transfervm"
    84  }
    85  
    86  variable "new_vm_name" {
    87    description = "Name of the new VM deployed from the custom image. Must be 3-15 characters."
    88    default     = "myvm"
    89  }
    90  
    91  variable "custom_image_name" {
    92    description = "Name of the VHD to be used as source syspreped/generalized image to deploy the VM, for example 'mybaseimage.vhd'"
    93  }
    94  
    95  variable "source_img_uri" {
    96    description = "Full URIs for one or more custom images (VHDs) that should be copied to the deployment storage account to spin up new VMs from them. URLs must be comma separated."
    97  }