Skip to content

Commit

Permalink
Fixing model name param in cross-model relations
Browse files Browse the repository at this point in the history
  • Loading branch information
Gmerold committed Feb 23, 2024
1 parent 11642b9 commit 9c37862
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions modules/sdcore-control-plane-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ resource "juju_offer" "loki-logging" {

resource "juju_integration" "prometheus" {
count = var.deploy_cos ? 1 : 0
model = juju_model.sdcore[0].name
model = var.model_name

application {
name = module.grafana-agent.app_name
Expand All @@ -527,7 +527,7 @@ resource "juju_integration" "prometheus" {

resource "juju_integration" "loki" {
count = var.deploy_cos ? 1 : 0
model = juju_model.sdcore[0].name
model = var.model_name

application {
name = module.grafana-agent.app_name
Expand Down
4 changes: 2 additions & 2 deletions modules/sdcore-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ resource "juju_offer" "loki-logging" {

resource "juju_integration" "prometheus" {
count = var.deploy_cos ? 1 : 0
model = juju_model.sdcore[0].name
model = var.model_name

application {
name = module.grafana-agent.app_name
Expand All @@ -564,7 +564,7 @@ resource "juju_integration" "prometheus" {

resource "juju_integration" "loki" {
count = var.deploy_cos ? 1 : 0
model = juju_model.sdcore[0].name
model = var.model_name

application {
name = module.grafana-agent.app_name
Expand Down
4 changes: 2 additions & 2 deletions modules/sdcore-user-plane-k8s/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ resource "juju_offer" "loki-logging" {

resource "juju_integration" "prometheus" {
count = var.deploy_cos ? 1 : 0
model = juju_model.sdcore[0].name
model = var.model_name

application {
name = module.grafana-agent.app_name
Expand All @@ -75,7 +75,7 @@ resource "juju_integration" "prometheus" {

resource "juju_integration" "loki" {
count = var.deploy_cos ? 1 : 0
model = juju_model.sdcore[0].name
model = var.model_name

application {
name = module.grafana-agent.app_name
Expand Down

0 comments on commit 9c37862

Please sign in to comment.