From 7f11e38d317de3a2405036682ae234185eab3955 Mon Sep 17 00:00:00 2001 From: Simone infante <52280205+infantesimone@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:20:28 +0100 Subject: [PATCH] feat: CHK-2524 add key for migration testing (#317) feat: add key for migration testing --- azure-devops/wallet/00_secrets_wallet.tf | 3 ++- azure-devops/wallet/06_pagopa-wallet-service.tf | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/azure-devops/wallet/00_secrets_wallet.tf b/azure-devops/wallet/00_secrets_wallet.tf index 38f7bef1..589e016a 100644 --- a/azure-devops/wallet/00_secrets_wallet.tf +++ b/azure-devops/wallet/00_secrets_wallet.tf @@ -13,7 +13,8 @@ module "wallet_dev_secrets" { "pagopa-d-weu-dev-aks-azure-devops-sa-token", "pagopa-d-weu-dev-aks-azure-devops-sa-cacrt", "pagopa-d-weu-dev-aks-apiserver-url", - "wallet-token-test-key" + "wallet-token-test-key", + "wallet-migration-api-key-test-dev" ] } diff --git a/azure-devops/wallet/06_pagopa-wallet-service.tf b/azure-devops/wallet/06_pagopa-wallet-service.tf index d66deae7..b4e6ed8a 100644 --- a/azure-devops/wallet/06_pagopa-wallet-service.tf +++ b/azure-devops/wallet/06_pagopa-wallet-service.tf @@ -65,11 +65,12 @@ locals { } # deploy secrets pagopa-wallet-service-variables_secret_deploy = { - git_mail = module.secrets.values["azure-devops-github-EMAIL"].value - git_username = module.secrets.values["azure-devops-github-USERNAME"].value - tenant_id = data.azurerm_client_config.current.tenant_id - wallet_token_test_dev = module.wallet_dev_secrets.values["wallet-token-test-key"].value - wallet_token_test_uat = module.wallet_uat_secrets.values["wallet-token-test-key"].value + git_mail = module.secrets.values["azure-devops-github-EMAIL"].value + git_username = module.secrets.values["azure-devops-github-USERNAME"].value + tenant_id = data.azurerm_client_config.current.tenant_id + wallet_token_test_dev = module.wallet_dev_secrets.values["wallet-token-test-key"].value + wallet_token_test_uat = module.wallet_uat_secrets.values["wallet-token-test-key"].value + migration_api_key_test_dev = module.wallet_dev_secrets.values["wallet-migration-api-key-test-dev"].value } }