You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: solutions/fully-configurable/variables.tf
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -8,11 +8,18 @@ variable "ibmcloud_api_key" {
8
8
sensitive=true
9
9
}
10
10
11
+
variable"existing_resource_group_name" {
12
+
type=string
13
+
description="The name of an existing resource group to provision the Databases for Elasticsearch in."
14
+
default="Default"
15
+
nullable=false
16
+
}
17
+
11
18
variable"provider_visibility" {
12
19
description="Set the visibility value for the IBM terraform provider. Supported values are `public`, `private`, `public-and-private`. [Learn more](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/guides/custom-service-endpoints)."
description="Prefix to add to all resources created by this solution. To not use any prefix value, you can set this value to `null` or an empty string."
31
+
description="The prefix to add to all resources that this solution creates (e.g `prod`, `test`, `dev`). To not use any prefix value, you can set this value to `null` or an empty string."
error_message="Prefix must begin with a lowercase letter, contain only lowercase letters, numbers, and - characters. Prefixes must end with a lowercase letter or number and be 16 or fewer characters."
description="The name of an existing resource group to provision the Databases for Elasicsearch in."
34
-
default="Default"
35
-
}
36
-
37
48
variable"name" {
38
49
type=string
39
50
description="The name of the Databases for Elasticsearch instance. If a prefix input variable is specified, the prefix is added to the name in the `<prefix>-<name>` format."
40
51
default="elasticsearch"
52
+
nullable=false
41
53
}
42
54
43
55
variable"elasticsearch_version" {
@@ -56,18 +68,21 @@ variable "region" {
56
68
type=string
57
69
description="The region where you want to deploy your instance, or the region in which your existing instance is in."
58
70
default="us-south"
71
+
nullable=false
59
72
}
60
73
61
74
variable"plan" {
62
75
type=string
63
76
description="The name of the service plan for your Databases for Elasticsearch instance. Possible values: `enterprise`, `platinum`."
64
77
default="platinum"
78
+
nullable=false
65
79
}
66
80
67
81
variable"service_endpoints" {
68
82
type=string
69
83
description="Specify whether you want to enable public, or both public and private service endpoints. Possible values: `public`, `public-and-private`"
description="The CRN of an existing Databases for Elasticsearch instance. If no value is specified, a new instance is created."
96
+
nullable=true
81
97
}
82
98
83
99
variable"enable_elser_model" {
84
100
type=bool
85
101
description="Set it to true to install and start the Elastic's Natural Language Processing model. [Learn more](https://cloud.ibm.com/docs/databases-for-elasticsearch?topic=databases-for-elasticsearch-elser-embeddings-elasticsearch)"
86
102
default=false
103
+
nullable=false
87
104
}
88
105
89
106
variable"elser_model_type" {
90
107
type=string
91
108
description="Trained ELSER model to be used for Elastic's Natural Language Processing. Possible values: `.elser_model_1`, `.elser_model_2` and `.elser_model_2_linux-x86_64`. Applies only if also 'plan' is set to 'platinum' and 'enable_elser_model' is enabled. [Learn more](https://www.elastic.co/guide/en/machine-learning/current/ml-nlp-elser.html)"
0 commit comments