Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
chore: Workload profiles migration PNPG (#460)
Browse files Browse the repository at this point in the history
* remove workload_profile_name var

* change dev dns

* fix var.image_tag

* uat dns suffix
  • Loading branch information
manuraf authored Apr 2, 2024
1 parent fa9e020 commit 5056f8b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 21 deletions.
8 changes: 3 additions & 5 deletions infra/container_apps/env/dev-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ container_app = {
memory = "1Gi"
}

workload_profile_name = null

app_settings = [
{
name = "DESTINATION_MAILS"
Expand Down Expand Up @@ -170,15 +168,15 @@ app_settings = [
},
{
name = "MS_NOTIFICATION_MANAGER_URL"
value = "https://selc-d-pnpg-notification-mngr-ca.whiteglacier-211c4885.westeurope.azurecontainerapps.io"
value = "https://selc-d-pnpg-notification-mngr-ca.yellowdesert-85d3792d.westeurope.azurecontainerapps.io"
},
{
name = "USERVICE_PARTY_REGISTRY_PROXY_URL"
value = "https://selc-d-pnpg-party-reg-proxy-ca.whiteglacier-211c4885.westeurope.azurecontainerapps.io"
value = "https://selc-d-pnpg-party-reg-proxy-ca.yellowdesert-85d3792d.westeurope.azurecontainerapps.io"
},
{
name = "MS_PRODUCT_URL"
value = "https://selc-d-pnpg-product-ca.whiteglacier-211c4885.westeurope.azurecontainerapps.io"
value = "https://selc-d-pnpg-product-ca.yellowdesert-85d3792d.westeurope.azurecontainerapps.io"
},
{
name = "USERVICE_USER_REGISTRY_URL"
Expand Down
2 changes: 0 additions & 2 deletions infra/container_apps/env/prod-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ container_app = {
memory = "2.5Gi"
}

workload_profile_name = null

app_settings = [
{
name = "MAIL_TEMPLATE_COMPLETE_PATH"
Expand Down
6 changes: 2 additions & 4 deletions infra/container_apps/env/uat-pnpg/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ container_app = {
memory = "1Gi"
}

workload_profile_name = null

app_settings = [
{
name = "DESTINATION_MAILS"
Expand Down Expand Up @@ -156,11 +154,11 @@ app_settings = [
},
{
name = "MS_NOTIFICATION_MANAGER_URL"
value = "https://selc-u-pnpg-notification-mngr-ca.redground-be752d1f.westeurope.azurecontainerapps.io"
value = "https://selc-u-pnpg-notification-mngr-ca.calmforest-ffe47bf1.westeurope.azurecontainerapps.io"
},
{
name = "USERVICE_PARTY_REGISTRY_PROXY_URL"
value = "https://selc-u-pnpg-party-reg-proxy-ca.redground-be752d1f.westeurope.azurecontainerapps.io"
value = "https://selc-u-pnpg-party-reg-proxy-ca.calmforest-ffe47bf1.westeurope.azurecontainerapps.io"
},
{
name = "MS_PRODUCT_URL"
Expand Down
4 changes: 2 additions & 2 deletions infra/container_apps/env/uat/terraform.tfvars
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,11 @@ app_settings = [
},
{
name = "MS_NOTIFICATION_MANAGER_URL"
value = "https://selc-u-notification-mngr-ca.calmsky-143987c1.westeurope.azurecontainerapps.io"
value = "https://selc-u-notification-mngr-ca.agreeablesky-f71e6306.westeurope.azurecontainerapps.io"
},
{
name = "USERVICE_PARTY_REGISTRY_PROXY_URL"
value = "https://selc-u-party-reg-proxy-ca.calmsky-143987c1.westeurope.azurecontainerapps.io"
value = "https://selc-u-party-reg-proxy-ca.agreeablesky-f71e6306.westeurope.azurecontainerapps.io"
},
{
name = "MS_PRODUCT_URL"
Expand Down
3 changes: 1 addition & 2 deletions infra/container_apps/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ module "container_app_core" {
container_app = var.container_app
container_app_name = "ms-core"
image_name = "selfcare-ms-core"
image_tag = "sha-61a02a8"
image_tag = var.image_tag
app_settings = var.app_settings
secrets_names = var.secrets_names
workload_profile_name = var.workload_profile_name

tags = var.tags
}
6 changes: 0 additions & 6 deletions infra/container_apps/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,4 @@ variable "app_settings" {
variable "secrets_names" {
type = map(string)
description = "KeyVault secrets to get values from"
}

variable "workload_profile_name" {
type = string
description = "Workload Profile name to use"
default = "Consumption"
}

0 comments on commit 5056f8b

Please sign in to comment.