github.com/paybyphone/terraform@v0.9.5-0.20170613192930-9706042ddd51/examples/azure-encrypt-running-linux-vm/variables.tf (about) 1 variable "resource_group" { 2 description = "Resource group name into which your new virtual machine will go." 3 } 4 5 variable "location" { 6 description = "The location/region where the virtual network is created. Changing this forces a new resource to be created." 7 default = "southcentralus" 8 } 9 10 variable "hostname" { 11 description = "Used to form various names including the key vault, vm, and storage. Must be unique." 12 } 13 14 variable "address_space" { 15 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." 16 default = "10.0.0.0/24" 17 } 18 19 variable "subnet_prefix" { 20 description = "The address prefix to use for the subnet." 21 default = "10.0.0.0/24" 22 } 23 24 variable "storage_account_type" { 25 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." 26 default = "Standard_LRS" 27 } 28 29 variable "vm_size" { 30 description = "Specifies the size of the virtual machine. This must be the same as the vm image from which you are copying." 31 default = "Standard_A0" 32 } 33 34 variable "image_publisher" { 35 description = "name of the publisher of the image (az vm image list)" 36 default = "Canonical" 37 } 38 39 variable "image_offer" { 40 description = "the name of the offer (az vm image list)" 41 default = "UbuntuServer" 42 } 43 44 variable "image_sku" { 45 description = "image sku to apply (az vm image list)" 46 default = "16.04-LTS" 47 } 48 49 variable "image_version" { 50 description = "version of the image to apply (az vm image list)" 51 default = "latest" 52 } 53 54 variable "admin_username" { 55 description = "administrator user name for the vm" 56 default = "vmadmin" 57 } 58 59 variable "admin_password" { 60 description = "administrator password for the vm (recommended to disable password auth)" 61 } 62 63 variable "aad_client_id" { 64 description = "Client ID of AAD app which has permissions to KeyVault" 65 } 66 67 variable "aad_client_secret" { 68 description = "Client Secret of AAD app which has permissions to KeyVault" 69 } 70 71 variable "disk_format_query" { 72 description = "The query string used to identify the disks to format and encrypt. This parameter only works when you set the EncryptionOperation as EnableEncryptionFormat. For example, passing [{\"dev_path\":\"/dev/md0\",\"name\":\"encryptedraid\",\"file_system\":\"ext4\"}] will format /dev/md0, encrypt it and mount it at /mnt/dataraid. This parameter should only be used for RAID devices. The specified device must not have any existing filesystem on it." 73 default = "" 74 } 75 76 variable "encryption_operation" { 77 description = "EnableEncryption would encrypt the disks in place and EnableEncryptionFormat would format the disks directly" 78 default = "EnableEncryption" 79 } 80 81 variable "volume_type" { 82 description = "Defines which drives should be encrypted. OS encryption is supported on RHEL 7.2, CentOS 7.2 & Ubuntu 16.04. Allowed values: OS, Data, All" 83 default = "All" 84 } 85 86 variable "key_encryption_key_url" { 87 description = "URL of the KeyEncryptionKey used to encrypt the volume encryption key" 88 } 89 90 variable "key_vault_resource_id" { 91 description = "uri of Azure key vault resource" 92 } 93 94 variable "key_vault_name" { 95 description = "name of Azure key vault resource" 96 } 97 98 variable "passphrase" { 99 description = "The passphrase for the disks" 100 } 101 102 variable "extension_name" { 103 description = "the name of the vm extension" 104 default = "AzureDiskEncryptionForLinux" 105 } 106 107 variable "sequence_version" { 108 description = "sequence version of the bitlocker operation. Increment this everytime an operation is performed on the same VM" 109 default = 1 110 } 111 112 variable "use_kek" { 113 description = "Select kek if the secret should be encrypted with a key encryption key. Allowed values: kek, nokek" 114 default = "kek" 115 } 116 117 variable "artifacts_location" { 118 description = "The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated." 119 default = "https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master" 120 } 121 122 variable "artifacts_location_sas_token" { 123 description = "The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated." 124 default = "" 125 }