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
| <aname="input_cloud_pak_deployer_image"></a> [cloud\_pak\_deployer\_image](#input\_cloud\_pak\_deployer\_image)| Cloud Pak Deployer image location. If not defined, it will build the image via code engine|`string`|`null`| no |
132
+
| <aname="input_cloud_pak_deployer_image"></a> [cloud\_pak\_deployer\_image](#input\_cloud\_pak\_deployer\_image)| Cloud Pak Deployer image to use. If null, the image will be built using Code Engine.|`string`|`null`| no |
133
133
| <aname="input_cloud_pak_deployer_release"></a> [cloud\_pak\_deployer\_release](#input\_cloud\_pak\_deployer\_release)| Release of Cloud Pak Deployer version to use. View releases at: https://github.com/IBM/cloud-pak-deployer/releases.|`string`|`"v3.1.2"`| no |
134
-
| <aname="input_cloud_pak_deployer_secret"></a> [cloud\_pak\_deployer\_secret](#input\_cloud\_pak\_deployer\_secret)|Image pull secret for the cloud pak deployer image| <pre>object({<br/> username = string<br/> password = string<br/> server = string<br/> email = string<br/> })</pre>|`null`| no |
135
-
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| Name of Red Hat OpenShift cluster to install watsonx onto|`string`| n/a | yes |
134
+
| <aname="input_cloud_pak_deployer_secret"></a> [cloud\_pak\_deployer\_secret](#input\_cloud\_pak\_deployer\_secret)|Secret for accessing the Cloud Pak Deployer image. If null, a default secret will be created. |`map(string)`|`null`| no |
135
+
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| Name of the OpenShift cluster.|`string`| n/a | yes |
136
136
| <aname="input_code_engine_project_id"></a> [code\_engine\_project\_id](#input\_code\_engine\_project\_id)| If you want to use an existing project, you can pass the code engine project id and the cloud pak deployer build will be built within the existing project vs a new one being created. |`string`|`null`| no |
137
137
| <aname="input_code_engine_project_name"></a> [code\_engine\_project\_name](#input\_code\_engine\_project\_name)| If the variable cloud\_pak\_deployer\_image is null, it will build the image with code engine and store it within a private icr registry. Provide a name if you want to set the name. If not defined, default will be {prefix}-cpd-{random-suffix} |`string`|`null`| no |
138
-
| <aname="input_cpd_accept_license"></a> [cpd\_accept\_license](#input\_cpd\_accept\_license)|When set to 'true', it is understood that the user has read the terms of the Cloud Pak license(s) and agrees to the terms outlined|`bool`|`false`| no |
139
-
| <aname="input_cpd_admin_password"></a> [cpd\_admin\_password](#input\_cpd\_admin\_password)| Password to be used by the admin user to access the Cloud Pak for Data UI. |`string`| n/a | yes |
140
-
| <aname="input_cpd_entitlement_key"></a> [cpd\_entitlement\_key](#input\_cpd\_entitlement\_key)|Cloud Pak for Data entitlement key for access to the IBM Entitled Registry. Can be fetched from https://myibm.ibm.com/products-services/containerlibrary.|`string`| n/a | yes |
138
+
| <aname="input_cpd_accept_license"></a> [cpd\_accept\_license](#input\_cpd\_accept\_license)|Accept the Cloud Pak for Data license.|`bool`|`false`| no |
139
+
| <aname="input_cpd_admin_password"></a> [cpd\_admin\_password](#input\_cpd\_admin\_password)| Password for the Cloud Pak for Data admin user. |`string`| n/a | yes |
140
+
| <aname="input_cpd_entitlement_key"></a> [cpd\_entitlement\_key](#input\_cpd\_entitlement\_key)|Entitlement key for Cloud Pak for Data. |`string`| n/a | yes |
141
141
| <aname="input_cpd_version"></a> [cpd\_version](#input\_cpd\_version)| Cloud Pak for Data version to install. Only version 5.x.x is supported |`string`|`"5.0.3"`| no |
142
-
| <aname="input_ibmcloud_api_key"></a> [ibmcloud\_api\_key](#input\_ibmcloud\_api\_key)|APIkey that's associated with the account to use|`string`| n/a | yes |
142
+
| <aname="input_ibmcloud_api_key"></a> [ibmcloud\_api\_key](#input\_ibmcloud\_api\_key)|The IBM Cloud platform API key needed to deploy IAM enabled resources.|`string`| n/a | yes |
143
143
| <aname="input_install_odf_cluster_addon"></a> [install\_odf\_cluster\_addon](#input\_install\_odf\_cluster\_addon)| Install the odf cluster addon |`bool`|`true`| no |
| <aname="input_odf_version"></a> [odf\_version](#input\_odf\_version)| Version of ODF to install |`string`|`"4.16.0"`| no |
146
-
| <aname="input_prefix"></a> [prefix](#input\_prefix)| A unique identifier for resources that is prepended to resources that are provisioned. Must begin with a lowercase letter and end with a lowercase letter or number. Must be 16 or fewer characters. |`string`|n/a|yes|
147
-
| <aname="input_region"></a> [region](#input\_region)| Region where resources wills be created. To find your VPC region, use `ibmcloud is regions` command to find available regions. |`string`| n/a | yes |
148
-
| <aname="input_resource_group"></a> [resource\_group](#input\_resource\_group)| Resource group to provision services within. If not defined, a resource group called {prefix}-cpd will be created |`string`|`null`| no |
146
+
| <aname="input_prefix"></a> [prefix](#input\_prefix)| A unique identifier for resources that is prepended to resources that are provisioned. Must begin with a lowercase letter and end with a lowercase letter or number. Must be 13 or fewer characters. |`string`|`"lz-roks-cp4d"`|no|
147
+
| <aname="input_region"></a> [region](#input\_region)| Region where resources will be created. To find your VPC region, use `ibmcloud is regions` command to find available regions. |`string`| n/a | yes |
148
+
| <aname="input_resource_group"></a> [resource\_group](#input\_resource\_group)| Resource group to provision services within. If not defined, a resource group called {prefix}-cpd will be created.|`string`|`null`| no |
149
149
| <aname="input_resource_group_exists"></a> [resource\_group\_exists](#input\_resource\_group\_exists)| Resource group exists or not within the account. |`bool`|`false`| no |
150
150
| <aname="input_watson_assistant_install"></a> [watson\_assistant\_install](#input\_watson\_assistant\_install)| If watsonx.ai is being installed, also install watson assistant |`bool`|`false`| no |
151
151
| <aname="input_watson_discovery_install"></a> [watson\_discovery\_install](#input\_watson\_discovery\_install)| If watsonx.ai is being installed, also install watson discovery |`bool`|`false`| no |
@@ -155,7 +155,11 @@ You need the following permissions to run this module:
155
155
156
156
### Outputs
157
157
158
-
No outputs.
158
+
| Name | Description |
159
+
|------|-------------|
160
+
| <aname="output_cloud_pak_deployer_image"></a> [cloud\_pak\_deployer\_image](#output\_cloud\_pak\_deployer\_image)| The Cloud Pak Deployer image used. |
161
+
| <aname="output_cloud_pak_deployer_secret"></a> [cloud\_pak\_deployer\_secret](#output\_cloud\_pak\_deployer\_secret)| The secret used for accessing the Cloud Pak Deployer image. |
162
+
| <aname="output_cluster_name"></a> [cluster\_name](#output\_cluster\_name)| The name of the OpenShift cluster. |
159
163
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
160
164
161
165
<!-- Leave this section as is so that your module has a link to local development environment set-up steps for contributors to follow -->
Copy file name to clipboardExpand all lines: solutions/deploy/variables.tf
+16-22Lines changed: 16 additions & 22 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,27 @@
1
1
variable"ibmcloud_api_key" {
2
-
description="APIkey that's associated with the account to use"
2
+
description="The IBM Cloud platform API key needed to deploy IAM enabled resources."
3
3
type=string
4
4
sensitive=true
5
5
}
6
6
7
7
variable"prefix" {
8
-
description="A unique identifier for resources that is prepended to resources that are provisioned. Must begin with a lowercase letter and end with a lowercase letter or number. Must be 16 or fewer characters."
8
+
description="A unique identifier for resources that is prepended to resources that are provisioned. Must begin with a lowercase letter and end with a lowercase letter or number. Must be 13 or fewer characters."
9
9
type=string
10
+
default="lz-roks-cp4d"
10
11
11
12
validation {
12
-
error_message="Prefix must begin and end with a letter and contain only letters, numbers, and - characters."
error_message="Prefix must begin with a letter and contain only lowercase letters, numbers, and - characters. Prefixes must end with a lowercase letter or number and be 13 or fewer characters."
description="Image pull secret for the cloud pak deployer image"
60
-
type=object({
61
-
username =string
62
-
password =string
63
-
server =string
64
-
email =string
65
-
})
66
-
67
-
default=null
60
+
description="Secret for accessing the Cloud Pak Deployer image. If null, a default secret will be created."
61
+
type=map(string)
62
+
default=null
68
63
}
69
64
70
65
variable"cluster_name" {
71
-
description="Name of Red Hat OpenShift cluster to install watsonx onto"
66
+
description="Name of the OpenShift cluster."
72
67
type=string
73
68
}
74
69
@@ -116,21 +111,20 @@ variable "odf_config" {
116
111
}
117
112
}
118
113
119
-
120
114
variable"cpd_accept_license" {
121
-
default=false
122
-
description="When set to 'true', it is understood that the user has read the terms of the Cloud Pak license(s) and agrees to the terms outlined"
115
+
description="Accept the Cloud Pak for Data license."
123
116
type=bool
117
+
default=false
124
118
}
125
119
126
120
variable"cpd_admin_password" {
127
-
description="Password to be used by the admin user to access the Cloud Pak for Data UI."
121
+
description="Password for the Cloud Pak for Data admin user."
128
122
sensitive=true
129
123
type=string
130
124
}
131
125
132
126
variable"cpd_entitlement_key" {
133
-
description="Cloud Pak for Data entitlement key for access to the IBM Entitled Registry. Can be fetched from https://myibm.ibm.com/products-services/containerlibrary."
127
+
description="Entitlement key for Cloud Pak for Data."
0 commit comments