diff --git a/ibm_catalog.json b/ibm_catalog.json index a0ca9907..24584045 100644 --- a/ibm_catalog.json +++ b/ibm_catalog.json @@ -289,11 +289,6 @@ "dependency_input": "prefix", "version_input": "prefix", "reference_version": true - }, - { - "dependency_input": "provider_visibility", - "version_input": "provider_visibility", - "reference_version": true } ], "optional": true, diff --git a/solutions/fully-configurable/provider.tf b/solutions/fully-configurable/provider.tf index f69fb6da..146dea97 100644 --- a/solutions/fully-configurable/provider.tf +++ b/solutions/fully-configurable/provider.tf @@ -1,5 +1,6 @@ provider "ibm" { - ibmcloud_api_key = var.ibmcloud_api_key - region = var.region - visibility = var.provider_visibility + ibmcloud_api_key = var.ibmcloud_api_key + region = var.region + visibility = var.provider_visibility + private_endpoint_type = (var.provider_visibility == "private" && var.region == "ca-mon") ? "vpe" : null } diff --git a/solutions/security-enforced/provider.tf b/solutions/security-enforced/provider.tf index f69fb6da..146dea97 100644 --- a/solutions/security-enforced/provider.tf +++ b/solutions/security-enforced/provider.tf @@ -1,5 +1,6 @@ provider "ibm" { - ibmcloud_api_key = var.ibmcloud_api_key - region = var.region - visibility = var.provider_visibility + ibmcloud_api_key = var.ibmcloud_api_key + region = var.region + visibility = var.provider_visibility + private_endpoint_type = (var.provider_visibility == "private" && var.region == "ca-mon") ? "vpe" : null }