Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: CHK-3596 add secret for testing wallet cdc in uat #2613

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/domains/pay-wallet-common/02_security.tf
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,20 @@ resource "azurerm_key_vault_secret" "sender_evt_tx_event_hub_connection_string_s
name = "sender-evt-tx-event-hub-connection-string-soak-test"
value = data.azurerm_eventhub_authorization_rule.sender_evt_tx_event_hub_connection_string_soak_test[0].primary_connection_string
key_vault_id = module.key_vault.id
}

//connection string to integration test ( only uat)
data "azurerm_eventhub_authorization_rule" "receiver_evt_rx_event_hub_connection_string_test" {
count = var.env_short == "u" ? 1 : 0
name = "payment-wallet-evt-rx"
namespace_name = "${local.product_italy}-observ-evh"
eventhub_name = "payment-wallet-ingestion-dl"
resource_group_name = "${local.product_italy}-observ-evh-rg"
}

resource "azurerm_key_vault_secret" "receiver_evt_rx_event_hub_connection_string_test" {
count = var.env_short == "u" ? 1 : 0
name = "receiver-evt-rx-event-hub-connection-string-test"
value = data.azurerm_eventhub_authorization_rule.receiver_evt_rx_event_hub_connection_string_test[0].primary_connection_string
key_vault_id = module.key_vault.id
}
6 changes: 4 additions & 2 deletions src/domains/pay-wallet-common/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# payment-wallet-common

<!-- markdownlint-disable -->
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- BEGIN_TF_DOCS -->
## Requirements

| Name | Version |
Expand Down Expand Up @@ -50,6 +50,7 @@
| [azurerm_key_vault_secret.payment_wallet_opsgenie_webhook_token](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.paypal_psp_api_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.personal-data-vault-api-key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.receiver_evt_rx_event_hub_connection_string_test](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.redis_wallet_password](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.sender_evt_tx_event_hub_connection_string](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
| [azurerm_key_vault_secret.sender_evt_tx_event_hub_connection_string_soak_test](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/key_vault_secret) | resource |
Expand Down Expand Up @@ -92,6 +93,7 @@
| [azurerm_api_management.apim](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/api_management) | data source |
| [azurerm_application_insights.application_insights_italy](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/application_insights) | data source |
| [azurerm_client_config.current](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/client_config) | data source |
| [azurerm_eventhub_authorization_rule.receiver_evt_rx_event_hub_connection_string_test](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/eventhub_authorization_rule) | data source |
| [azurerm_eventhub_authorization_rule.sender_evt_tx_event_hub_connection_string](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/eventhub_authorization_rule) | data source |
| [azurerm_eventhub_authorization_rule.sender_evt_tx_event_hub_connection_string_soak_test](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/eventhub_authorization_rule) | data source |
| [azurerm_key_vault_secret.monitor_payment_wallet_opsgenie_webhook_key](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/key_vault_secret) | data source |
Expand Down Expand Up @@ -150,4 +152,4 @@
## Outputs

No outputs.
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
<!-- END_TF_DOCS -->