github.com/ticketmaster/terraform@v0.10.0-beta2.0.20170711045249-a12daf5aba4f/examples/azure-openshift-origin/variables.tf (about)

     1  variable "resource_group_name" {
     2    description = "Name of the azure resource group in which you will deploy this template."
     3  }
     4  
     5  variable "resource_group_location" {
     6    description = "Location of the azure resource group."
     7    default     = "southcentralus"
     8  }
     9  
    10  variable "subscription_id" {
    11    description = "Subscription ID of the key vault"
    12  }
    13  
    14  variable "tenant_id" {
    15    description = "Tenant ID with access to your key vault and subscription"
    16  }
    17  
    18  variable "openshift_script_path" {
    19    description = "Local path to openshift scripts to prep nodes and install openshift origin"
    20  }
    21  
    22  variable "os_image" {
    23    description = "Select from CentOS (centos) or RHEL (rhel) for the Operating System"
    24    default     = "centos"
    25  }
    26  
    27  variable "bastion_vm_size" {
    28    description = "Size of the Bastion Virtual Machine. Allowed values: Standard_A4, Standard_A5, Standard_A6, Standard_A7, Standard_A8, Standard_A9, Standard_A10, Standard_A11, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_v2, Standard_D2_v2, Standard_D3_v2, Standard_D4_v2, Standard_D5_v2, Standard_D11_v2, Standard_D12_v2, Standard_D13_v2, Standard_D14_v2, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_D1_v2, Standard_DS2, Standard_DS3, Standard_DS4, Standard_DS11, Standard_DS12, Standard_DS13, Standard_DS14, Standard_DS1_v2, Standard_DS2_v2, Standard_DS3_v2, Standard_DS4_v2, Standard_DS5_v2, Standard_DS11_v2, Standard_DS12_v2, Standard_DS13_v2, Standard_DS14_v2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5"
    29    default     = "Standard_D2_v2"
    30  }
    31  
    32  variable "master_vm_size" {
    33    description = "Size of the Master Virtual Machine. Allowed values: Standard_A4, Standard_A5, Standard_A6, Standard_A7, Standard_A8, Standard_A9, Standard_A10, Standard_A11, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_v2, Standard_D2_v2, Standard_D3_v2, Standard_D4_v2, Standard_D5_v2, Standard_D11_v2, Standard_D12_v2, Standard_D13_v2, Standard_D14_v2, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_D1_v2, Standard_DS2, Standard_DS3, Standard_DS4, Standard_DS11, Standard_DS12, Standard_DS13, Standard_DS14, Standard_DS1_v2, Standard_DS2_v2, Standard_DS3_v2, Standard_DS4_v2, Standard_DS5_v2, Standard_DS11_v2, Standard_DS12_v2, Standard_DS13_v2, Standard_DS14_v2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5"
    34    default     = "Standard_DS4_v2"
    35  }
    36  
    37  variable "infra_vm_size" {
    38    description = "Size of the Infra Virtual Machine. Allowed values: Standard_A4, Standard_A5, Standard_A6, Standard_A7, Standard_A8, Standard_A9, Standard_A10, Standard_A11,Standard_D1, Standard_D2, Standard_D3, Standard_D4,Standard_D11, Standard_D12, Standard_D13, Standard_D14,Standard_D1_v2, Standard_D2_v2, Standard_D3_v2, Standard_D4_v2, Standard_D5_v2,Standard_D11_v2, Standard_D12_v2, Standard_D13_v2, Standard_D14_v2,Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5,Standard_D1_v2, Standard_DS2, Standard_DS3, Standard_DS4,Standard_DS11, Standard_DS12, Standard_DS13, Standard_DS14,Standard_DS1_v2, Standard_DS2_v2, Standard_DS3_v2, Standard_DS4_v2, Standard_DS5_v2,Standard_DS11_v2, Standard_DS12_v2, Standard_DS13_v2, Standard_DS14_v2,Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5"
    39    default     = "Standard_DS3_v2"
    40  }
    41  
    42  variable "node_vm_size" {
    43    description = "Size of the Node Virtual Machine. Allowed values: Standard_A4, Standard_A5, Standard_A6, Standard_A7, Standard_A8, Standard_A9, Standard_A10, Standard_A11, Standard_D1, Standard_D2, Standard_D3, Standard_D4, Standard_D11, Standard_D12, Standard_D13, Standard_D14, Standard_D1_v2, Standard_D2_v2, Standard_D3_v2, Standard_D4_v2, Standard_D5_v2, Standard_D11_v2, Standard_D12_v2, Standard_D13_v2, Standard_D14_v2, Standard_G1, Standard_G2, Standard_G3, Standard_G4, Standard_G5, Standard_D1_v2, Standard_DS2, Standard_DS3, Standard_DS4, Standard_DS11, Standard_DS12, Standard_DS13, Standard_DS14, Standard_DS1_v2, Standard_DS2_v2, Standard_DS3_v2, Standard_DS4_v2, Standard_DS5_v2, Standard_DS11_v2, Standard_DS12_v2, Standard_DS13_v2, Standard_DS14_v2, Standard_GS1, Standard_GS2, Standard_GS3, Standard_GS4, Standard_GS5"
    44    default     = "Standard_DS3_v2"
    45  }
    46  
    47  variable "storage_account_type_map" {
    48    description = "This is the storage account type that you will need based on the vm size that you choose (value constraints)"
    49    type        = "map"
    50  
    51    default = {
    52      Standard_A4      = "Standard_LRS"
    53      Standard_A5      = "Standard_LRS"
    54      Standard_A6      = "Standard_LRS"
    55      Standard_A7      = "Standard_LRS"
    56      Standard_A8      = "Standard_LRS"
    57      Standard_A9      = "Standard_LRS"
    58      Standard_A10     = "Standard_LRS"
    59      Standard_A11     = "Standard_LRS"
    60      Standard_D1      = "Standard_LRS"
    61      Standard_D2      = "Standard_LRS"
    62      Standard_D3      = "Standard_LRS"
    63      Standard_D4      = "Standard_LRS"
    64      Standard_D11     = "Standard_LRS"
    65      Standard_D12     = "Standard_LRS"
    66      Standard_D13     = "Standard_LRS"
    67      Standard_D14     = "Standard_LRS"
    68      Standard_D1_v2   = "Standard_LRS"
    69      Standard_D2_v2   = "Standard_LRS"
    70      Standard_D3_v2   = "Standard_LRS"
    71      Standard_D4_v2   = "Standard_LRS"
    72      Standard_D5_v2   = "Standard_LRS"
    73      Standard_D11_v2  = "Standard_LRS"
    74      Standard_D12_v2  = "Standard_LRS"
    75      Standard_D13_v2  = "Standard_LRS"
    76      Standard_D14_v2  = "Standard_LRS"
    77      Standard_G1      = "Standard_LRS"
    78      Standard_G2      = "Standard_LRS"
    79      Standard_G3      = "Standard_LRS"
    80      Standard_G4      = "Standard_LRS"
    81      Standard_G5      = "Standard_LRS"
    82      Standard_DS1     = "Premium_LRS"
    83      Standard_DS2     = "Premium_LRS"
    84      Standard_DS3     = "Premium_LRS"
    85      Standard_DS4     = "Premium_LRS"
    86      Standard_DS11    = "Premium_LRS"
    87      Standard_DS12    = "Premium_LRS"
    88      Standard_DS13    = "Premium_LRS"
    89      Standard_DS14    = "Premium_LRS"
    90      Standard_DS1_v2  = "Premium_LRS"
    91      Standard_DS2_v2  = "Premium_LRS"
    92      Standard_DS3_v2  = "Premium_LRS"
    93      Standard_DS4_v2  = "Premium_LRS"
    94      Standard_DS5_v2  = "Premium_LRS"
    95      Standard_DS11_v2 = "Premium_LRS"
    96      Standard_DS12_v2 = "Premium_LRS"
    97      Standard_DS13_v2 = "Premium_LRS"
    98      Standard_DS14_v2 = "Premium_LRS"
    99      Standard_DS15_v2 = "Premium_LRS"
   100      Standard_GS1     = "Premium_LRS"
   101      Standard_GS2     = "Premium_LRS"
   102      Standard_GS3     = "Premium_LRS"
   103      Standard_GS4     = "Premium_LRS"
   104      Standard_GS5     = "Premium_LRS"
   105    }
   106  }
   107  
   108  variable "os_image_map" {
   109    description = "os image map"
   110    type        = "map"
   111  
   112    default = {
   113      centos_publisher = "Openlogic"
   114      centos_offer     = "CentOS"
   115      centos_sku       = "7.3"
   116      centos_version   = "latest"
   117      rhel_publisher   = "RedHat"
   118      rhel_offer       = "RHEL"
   119      rhel_sku         = "7.2"
   120      rhel_version     = "latest"
   121    }
   122  }
   123  
   124  variable "disk_size_gb" {
   125    description = "storage os disk size"
   126    default     = 60
   127  }
   128  
   129  variable "openshift_cluster_prefix" {
   130    description = "Cluster Prefix used to configure domain name label and hostnames for all nodes - master, infra and nodes. Between 1 and 20 characters"
   131  }
   132  
   133  variable "master_instance_count" {
   134    description = "Number of OpenShift Masters nodes to deploy. 1 is non HA and 3 is for HA."
   135    default     = 1
   136  }
   137  
   138  variable "infra_instance_count" {
   139    description = "Number of OpenShift infra nodes to deploy. 1 is non HA.  Choose 2 or 3 for HA."
   140    default     = 1
   141  }
   142  
   143  variable "node_instance_count" {
   144    description = "Number of OpenShift nodes to deploy. Allowed values: 1-30"
   145    default     = 1
   146  }
   147  
   148  variable "data_disk_size" {
   149    description = "Size of data disk to attach to nodes for Docker volume - valid sizes are 128 GB, 512 GB and 1023 GB"
   150    default     = 128
   151  }
   152  
   153  variable "admin_username" {
   154    description = "Admin username for both OS login and OpenShift login"
   155    default     = "ocpadmin"
   156  }
   157  
   158  variable "openshift_password" {
   159    description = "Password for OpenShift login"
   160  }
   161  
   162  variable "ssh_public_key" {
   163    description = "Path to your SSH Public Key"
   164  }
   165  
   166  variable "connection_private_ssh_key_path" {
   167    description = "Path to the private ssh key used to connect to machines within the OpenShift cluster."
   168  }
   169  
   170  variable "key_vault_resource_group" {
   171    description = "The name of the Resource Group that contains the Key Vault"
   172  }
   173  
   174  variable "key_vault_name" {
   175    description = "The name of the Key Vault you will use"
   176  }
   177  
   178  variable "key_vault_secret" {
   179    description = "The Secret Name you used when creating the Secret (that contains the Private Key)"
   180  }
   181  
   182  variable "aad_client_id" {
   183    description = "Azure Active Directory Client ID also known as Application ID for Service Principal"
   184  }
   185  
   186  variable "aad_client_secret" {
   187    description = "Azure Active Directory Client Secret for Service Principal"
   188  }
   189  
   190  variable "default_sub_domain_type" {
   191    description = "This will either be 'xipio' (if you don't have your own domain) or 'custom' if you have your own domain that you would like to use for routing"
   192    default     = "xipio"
   193  }
   194  
   195  variable "default_sub_domain" {
   196    description = "The wildcard DNS name you would like to use for routing if you selected 'custom' above. If you selected 'xipio' above, then this field will be ignored"
   197    default     = "contoso.com"
   198  }
   199  
   200  variable "api_version_compute" {
   201    default = "2015-06-15"
   202  }
   203  
   204  variable "api_version" {
   205    default = "2015-01-01"
   206  }