diff --git a/modules/sdcore-control-plane-k8s/main.tf b/modules/sdcore-control-plane-k8s/main.tf index f7efe4c..6644ab3 100644 --- a/modules/sdcore-control-plane-k8s/main.tf +++ b/modules/sdcore-control-plane-k8s/main.tf @@ -362,6 +362,20 @@ resource "juju_integration" "nssf-sdcore-config" { } } +resource "juju_integration" "pcf-sdcore-config" { + model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name + + application { + name = module.pcf.app_name + endpoint = module.pcf.sdcore_config_endpoint + } + + application { + name = module.webui.app_name + endpoint = module.webui.sdcore_config_endpoint + } +} + resource "juju_integration" "smf-sdcore-config" { model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name @@ -390,6 +404,20 @@ resource "juju_integration" "udm-sdcore-config" { } } +resource "juju_integration" "udr-sdcore-config" { + model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name + + application { + name = module.udr.app_name + endpoint = module.udr.sdcore_config_endpoint + } + + application { + name = module.webui.app_name + endpoint = module.webui.sdcore_config_endpoint + } +} + # Integrations for `metrics` endpoint resource "juju_integration" "amf-metrics" { diff --git a/modules/sdcore-k8s/main.tf b/modules/sdcore-k8s/main.tf index 27c88d6..1291731 100644 --- a/modules/sdcore-k8s/main.tf +++ b/modules/sdcore-k8s/main.tf @@ -369,6 +369,20 @@ resource "juju_integration" "nssf-sdcore-config" { } } +resource "juju_integration" "pcf-sdcore-config" { + model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name + + application { + name = module.pcf.app_name + endpoint = module.pcf.sdcore_config_endpoint + } + + application { + name = module.webui.app_name + endpoint = module.webui.sdcore_config_endpoint + } +} + resource "juju_integration" "smf-sdcore-config" { model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name @@ -397,6 +411,20 @@ resource "juju_integration" "udm-sdcore-config" { } } +resource "juju_integration" "udr-sdcore-config" { + model = var.create_model == true ? juju_model.sdcore[0].name : var.model_name + + application { + name = module.udr.app_name + endpoint = module.udr.sdcore_config_endpoint + } + + application { + name = module.webui.app_name + endpoint = module.webui.sdcore_config_endpoint + } +} + # Integrations for `metrics` endpoint resource "juju_integration" "amf-metrics" {