Skip to content

Commit

Permalink
feat: Moved prod gh job to correct cae region (#2641)
Browse files Browse the repository at this point in the history
moved prod gh job to correct cae region
  • Loading branch information
mamari90 authored Dec 9, 2024
1 parent 5d6ac4f commit 2f9d1c5
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions src/domains/afm-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/apiconfig-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/bizevents-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/fdr-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/gps-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/nodo-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/receipts-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/selfcare-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
4 changes: 2 additions & 2 deletions src/domains/shared-app/07_gh_runner.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
locals {
# because westeurope does not support any other container app environment creation
tools_cae_name = var.env_short != "p" ? "${local.product}-tools-cae" : "${local.product}-itn-core-tools-cae"
tools_cae_rg = var.env_short != "p" ? "${local.product}-core-tools-rg" : "${local.product}-itn-core-tools-rg"
tools_cae_name = "${local.product}-tools-cae"
tools_cae_rg = "${local.product}-core-tools-rg"
}

module "gh_runner_job" {
Expand Down
2 changes: 1 addition & 1 deletion src/next-core/env/prod/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tags = {
### Feature Flag
is_feature_enabled = {
vnet_ita = false,
container_app_tools_cae = false,
container_app_tools_cae = true,
node_forwarder_ha_enabled = true,
vpn = false,
dns_forwarder_lb = true,
Expand Down

0 comments on commit 2f9d1c5

Please sign in to comment.