github.com/spirius/terraform@v0.10.0-beta2.0.20170714185654-87b2c0cf8fea/examples/azure-search-create/variables.tf (about)

     1  variable "resource_group" {
     2    description = "The name of the resource group in which to create search service"
     3  }
     4  
     5  variable "location" {
     6    description = "The location/region where the search service is created. Changing this forces a new resource to be created."
     7    default     = "southcentralus"
     8  }
     9  
    10  variable "search_name" {
    11    description = "Service name must only contain lowercase letters, digits or dashes, cannot use dash as the first two or last one characters, cannot contain consecutive dashes, and is limited between 2 and 60 characters in length."
    12  }
    13  
    14  variable "sku" {
    15    description = "Valid values are 'free', 'standard', 'standard2', and 'standard3' (2 & 3 must be enabled on the backend by Microsoft support). 'free' provisions the service in shared clusters. 'standard' provisions the service in dedicated clusters."
    16    default     = "standard"
    17  }
    18  
    19  variable "replica_count" {
    20    description = "Replicas distribute search workloads across the service. You need 2 or more to support high availability (applies to Basic and Standard only)."
    21    default     = 1
    22  }
    23  
    24  variable "partition_count" {
    25    description = "Partitions allow for scaling of document count as well as faster indexing by sharding your index over multiple Azure Search units. Allowed values: 1, 2, 3, 4, 6, 12"
    26    default     = 1
    27  }
    28  
    29  variable "hosting_mode" {
    30    description = "Applicable only for SKU set to standard3. You can set this property to enable a single, high density partition that allows up to 1000 indexes, which is much higher than the maximum indexes allowed for any other SKU. Allowed values: default, highDensity"
    31    default     = "default"
    32  }