generated from terraform-ibm-modules/terraform-ibm-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
97 lines (82 loc) · 4.13 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
##############################################################################
# Input Variables
##############################################################################
variable "cluster_id" {
type = string
description = "Enter Id of the target IBM Cloud Red Hat OpenShift cluster. This cluster ID can be found under the Red Hat OpenShift clusters section."
nullable = false
}
variable "entitlement_key" {
description = "Enter entitlement key to access IBM Image registry. For more information, see [Entitlement Keys](https://myibm.ibm.com/products-services/containerlibrary) You can use an existing secret in Secrets Manager or add your entitlement key directly."
type = string
sensitive = true
}
variable "mas_license" {
description = "Enter Maximo Application Suite License file content. For more information, see [IBM Support - Licensing](https://www.ibm.com/support/pages/ibm-support-licensing-start-page) You can use an existing secret in Secrets Manager or add your entitlement key directly."
type = string
sensitive = true
}
variable "deployment_flavor" {
type = string
description = "Select core for Maximo Application Suite Core deployment and select manage for Maximo Application Suite Core+Manage deployment. Maximo Application Suite Core is deployed by using the MongoDB Community edition and Maximo Manage is deployed with internal Db2 on Red Hat OpenShift cluster."
nullable = false
validation {
error_message = "Invalid deployment flavor type! Valid values are 'core' or 'manage'"
condition = contains(["core", "manage"], var.deployment_flavor)
}
}
variable "mas_instance_id" {
type = string
description = "Enter the Maximo Application Suite instance Id. It can be any instance name lesser than 8 characters in length such as inst1"
nullable = false
}
variable "mas_workspace_id" {
type = string
description = "Enter the Maximo Application Suite workspace Id."
default = "wrkid1"
}
variable "mas_workspace_name" {
type = string
description = "Enter the Maximo Application Suite workspace name"
default = "wrkns1"
}
variable "storage_class_rwo" {
type = string
description = "Enter the storage class (read-write once). Default value is ibmc-vpc-block-retain-10iops-tier. Make sure this storage class is present under Storage > StorageClasses section on your Red Hat OpenShift cluster section."
default = "ibmc-vpc-block-retain-10iops-tier"
}
variable "storage_class_rwx" {
type = string
description = "Enter the storage class (read-write many). Enter file storage class for DB2. Default value is ibmc-vpc-file-500-iops. Make sure this storage class is present under Storage > StorageClasses section on your Red Hat OpenShift cluster section."
default = "ibmc-vpc-file-500-iops"
}
variable "pipeline_storage_class" {
type = string
description = "Enter the storage class for pipeline. Default value is ibmc-vpc-block-retain-10iops-tier. Make sure this storage class is present under Storage > StorageClasses section on your Red Hat OpenShift cluster section."
default = "ibmc-vpc-block-retain-10iops-tier"
}
variable "contact_email" {
type = string
description = "Enter the email ID for Data Reporter Operator"
nullable = false
}
variable "contact_firstname" {
type = string
description = "Enter your first name to be used in Data Reporter Operator"
nullable = false
}
variable "contact_lastname" {
type = string
description = "Enter your last name to be used in Data Reporter Operator"
nullable = false
}
variable "cluster_config_endpoint_type" {
description = "Specify which type of endpoint to use for for cluster config access: 'default', 'private', 'vpe', 'link'. 'default' value will use the default endpoint of the cluster."
type = string
default = "default"
nullable = false # use default if null is passed in
validation {
error_message = "Invalid Endpoint Type! Valid values are 'default', 'private', 'vpe', or 'link'"
condition = contains(["default", "private", "vpe", "link"], var.cluster_config_endpoint_type)
}
}