Skip to content

Commit

Permalink
feat(pay-wallet): enable PROD env for deployment pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
pietro-tota committed Nov 26, 2024
1 parent 6cf9fa9 commit 12393ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions azure-devops/pay-wallet/06_pagopa-payment-wallet-cdc-service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ locals {
dev_container_registry_name = data.azuredevops_serviceendpoint_azurecr.dev_ita_workload_identity.service_endpoint_name
uat_container_registry_service_conn = data.azuredevops_serviceendpoint_azurecr.uat_ita_workload_identity.id
uat_container_registry_name = data.azuredevops_serviceendpoint_azurecr.uat_ita_workload_identity.service_endpoint_name
# prod_container_registry_service_conn = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id
# prod_container_registry_name = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.service_endpoint_name
prod_container_registry_service_conn = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id
prod_container_registry_name = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.service_endpoint_name

# aks section
dev_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_dev.id
uat_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_uat.id
# prod_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_prod.id
prod_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_prod.id

dev_container_namespace = "pagopaditncoreacr.azurecr.io"
uat_container_namespace = "pagopauitncoreacr.azurecr.io"
# prod_container_namespace = "pagopapitncoreacr.azurecr.io"
prod_container_namespace = "pagopapitncoreacr.azurecr.io"

}
# deploy secrets
Expand Down Expand Up @@ -121,9 +121,9 @@ module "pagopa-payment-wallet-cdc-service_deploy" {
data.azuredevops_serviceendpoint_github.github_ro.id,
data.azuredevops_serviceendpoint_azurecr.dev_ita_workload_identity.id,
data.azuredevops_serviceendpoint_azurecr.uat_ita_workload_identity.id,
# data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id,
data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id,
data.azuredevops_serviceendpoint_azurerm.dev.id,
data.azuredevops_serviceendpoint_azurerm.uat.id,
# data.azuredevops_serviceendpoint_azurerm.prod.id,
data.azuredevops_serviceendpoint_azurerm.prod.id,
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,17 @@ locals {
dev_container_registry_name = data.azuredevops_serviceendpoint_azurecr.dev_ita_workload_identity.service_endpoint_name
uat_container_registry_service_conn = data.azuredevops_serviceendpoint_azurecr.uat_ita_workload_identity.id
uat_container_registry_name = data.azuredevops_serviceendpoint_azurecr.uat_ita_workload_identity.service_endpoint_name
# prod_container_registry_service_conn = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id
# prod_container_registry_name = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.service_endpoint_name
prod_container_registry_service_conn = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id
prod_container_registry_name = data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.service_endpoint_name

# aks section
dev_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_dev.id
uat_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_uat.id
# prod_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_prod.id
prod_kubernetes_service_conn = azuredevops_serviceendpoint_kubernetes.aks_prod.id

dev_container_namespace = "pagopaditncoreacr.azurecr.io"
uat_container_namespace = "pagopauitncoreacr.azurecr.io"
# prod_container_namespace = "pagopapitncoreacr.azurecr.io"
prod_container_namespace = "pagopapitncoreacr.azurecr.io"

}
# deploy secrets
Expand Down Expand Up @@ -121,9 +121,9 @@ module "pagopa-payment-wallet-scheduler-service_deploy" {
data.azuredevops_serviceendpoint_github.github_ro.id,
data.azuredevops_serviceendpoint_azurecr.dev_ita_workload_identity.id,
data.azuredevops_serviceendpoint_azurecr.uat_ita_workload_identity.id,
# data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id,
data.azuredevops_serviceendpoint_azurecr.prod_ita_workload_identity.id,
data.azuredevops_serviceendpoint_azurerm.dev.id,
data.azuredevops_serviceendpoint_azurerm.uat.id,
# data.azuredevops_serviceendpoint_azurerm.prod.id,
data.azuredevops_serviceendpoint_azurerm.prod.id,
]
}

0 comments on commit 12393ff

Please sign in to comment.