File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,13 +88,13 @@ resource "ibm_resource_instance" "discovery_instance" {
88
88
89
89
module "configure_user" {
90
90
source = " ./configure_user"
91
- watsonx_admin_api_key = var. watsonx_admin_api_key == null ? var. ibmcloud_api_key : var. watsonx_admin_api_key
91
+ watsonx_admin_api_key = var. watsonx_admin_api_key == null || var . watsonx_admin_api_key == " " ? var. ibmcloud_api_key : var. watsonx_admin_api_key
92
92
resource_group_id = module. resource_group . resource_group_id
93
93
}
94
94
95
95
module "configure_project" {
96
96
source = " ./configure_project"
97
- watsonx_admin_api_key = var. watsonx_admin_api_key == null ? var. ibmcloud_api_key : var. watsonx_admin_api_key
97
+ watsonx_admin_api_key = var. watsonx_admin_api_key == null || var . watsonx_admin_api_key == " " ? var. ibmcloud_api_key : var. watsonx_admin_api_key
98
98
project_name = var. project_name
99
99
project_description = var. project_description
100
100
project_tags = var. project_tags
You can’t perform that action at this time.
0 commit comments