From 13dcda3f63875a6ac526b6c73e250f47a195af0b Mon Sep 17 00:00:00 2001 From: Luca Consalvi Date: Mon, 25 Nov 2024 17:17:24 +0100 Subject: [PATCH] update secret name --- src/main/resources/application.properties | 2 +- src/main/terraform/env/cstar-d-weu-rtp/terraform.tfvars | 2 +- src/main/terraform/env/cstar-p-weu-rtp/terraform.tfvars | 2 +- src/main/terraform/env/cstar-u-weu-rtp/terraform.tfvars | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 7cbf751..cb07d59 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -11,7 +11,7 @@ management.endpoint.health.probes.enabled=true #repository cosmos.credential.db-name=${DB_NAME:rtp} -cosmos.credential.endpoint=${COSMOS_CONNECTION_STRING:""} +cosmos.credential.endpoint=${COSMOS_ACCOUNT_RTP_ENDPOINT:""} activation.base-url=${BASE_URL:"http://localhost"} \ No newline at end of file diff --git a/src/main/terraform/env/cstar-d-weu-rtp/terraform.tfvars b/src/main/terraform/env/cstar-d-weu-rtp/terraform.tfvars index bb3eec6..20c1143 100644 --- a/src/main/terraform/env/cstar-d-weu-rtp/terraform.tfvars +++ b/src/main/terraform/env/cstar-d-weu-rtp/terraform.tfvars @@ -43,7 +43,7 @@ rtp_activator_base_url = "https://mil-d-apim.azure-api. rtp_environment_secrets = { - COSMOS_CONNECTION_STRING : "cosmosdb-account-rtp-endpoint" + COSMOS_ACCOUNT_RTP_ENDPOINT : "cosmosdb-account-rtp-endpoint" APPLICATIONINSIGHTS_CONNECTION_STRING: "appinsights-connection-string" } diff --git a/src/main/terraform/env/cstar-p-weu-rtp/terraform.tfvars b/src/main/terraform/env/cstar-p-weu-rtp/terraform.tfvars index 6efb5da..b9e5750 100644 --- a/src/main/terraform/env/cstar-p-weu-rtp/terraform.tfvars +++ b/src/main/terraform/env/cstar-p-weu-rtp/terraform.tfvars @@ -42,7 +42,7 @@ rtp_activator_min_replicas = 1 rtp_activator_base_url = "https://mil-d-apim.azure-api.net/rtp_activator" rtp_environment_secrets = { - COSMOS_CONNECTION_STRING : "cosmosdb-account-rtp-endpoint" + COSMOS_ACCOUNT_RTP_ENDPOINT : "cosmosdb-account-rtp-endpoint" APPLICATIONINSIGHTS_CONNECTION_STRING: "appinsights-connection-string" } diff --git a/src/main/terraform/env/cstar-u-weu-rtp/terraform.tfvars b/src/main/terraform/env/cstar-u-weu-rtp/terraform.tfvars index 095ee8e..26d265a 100644 --- a/src/main/terraform/env/cstar-u-weu-rtp/terraform.tfvars +++ b/src/main/terraform/env/cstar-u-weu-rtp/terraform.tfvars @@ -43,7 +43,7 @@ rtp_activator_base_url = "https://mil-d-apim.azure-api. rtp_environment_secrets = { - COSMOS_CONNECTION_STRING : "cosmosdb-account-rtp-endpoint" + COSMOS_ACCOUNT_RTP_ENDPOINT : "cosmosdb-account-rtp-endpoint" APPLICATIONINSIGHTS_CONNECTION_STRING: "appinsights-connection-string" }