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
description="The IBM Cloud platform API key needed to deploy IAM enabled resources."
6
+
description="The IBM Cloud API key to deploy resources."
7
7
type=string
8
8
sensitive=true
9
9
}
@@ -14,8 +14,8 @@ variable "prefix" {
14
14
default="lz-roks-cp4d"
15
15
16
16
validation {
17
-
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."
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 16 or fewer characters."
|[external_external.schematics](https://registry.terraform.io/providers/hashicorp/external/latest/docs/data-sources/external)| data source |
125
-
|[ibm_container_cluster_config.cluster_config](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/container_cluster_config)| data source |
126
-
|[ibm_container_vpc_cluster.cluster_info](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/container_vpc_cluster)| data source |
125
+
|[ibm_container_cluster_config.cluster_config](https://registry.terraform.io/providers/ibm-cloud/ibm/1.71.3/docs/data-sources/container_cluster_config)| data source |
126
+
|[ibm_container_vpc_cluster.cluster_info](https://registry.terraform.io/providers/ibm-cloud/ibm/1.71.3/docs/data-sources/container_vpc_cluster)| data source |
127
127
128
128
### Inputs
129
129
130
130
| Name | Description | Type | Default | Required |
| <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 |
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
-
| <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 |
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
+
| <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 instead of creating a new one. |`string`|`null`| no |
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 for the Cloud Pak for Data admin user. |`string`| n/a | yes |
140
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 |
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 |
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 |
142
+
| <aname="input_ibmcloud_api_key"></a> [ibmcloud\_api\_key](#input\_ibmcloud\_api\_key)|The IBM Cloud API key to deploy resources.|`string`| n/a | yes |
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`|`null`|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,12 @@ 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. |
163
+
| <aname="output_code_engine_project_name"></a> [code\_engine\_project\_name](#output\_code\_engine\_project\_name)| The name of the code engine project that was created |
159
164
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
160
165
161
166
<!-- Leave this section as is so that your module has a link to local development environment set-up steps for contributors to follow -->
0 commit comments