Skip to content

Commit

Permalink
feat: CHK-2524 add key for migration testing (#317)
Browse files Browse the repository at this point in the history
feat: add key for migration testing
  • Loading branch information
infantesimone authored Feb 29, 2024
1 parent f50191e commit 7f11e38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion azure-devops/wallet/00_secrets_wallet.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}

Expand Down
11 changes: 6 additions & 5 deletions azure-devops/wallet/06_pagopa-wallet-service.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down

0 comments on commit 7f11e38

Please sign in to comment.