Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: CDCgov/prime-simplereport
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 57dc6726fec2da90911ccbe33184e734e5ae9591
Choose a base ref
..
head repository: CDCgov/prime-simplereport
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6fce2f8019a7132f1d1863ac0d7c8feda9c8fb20
Choose a head ref
Showing with 13 additions and 2 deletions.
  1. +11 −1 ops/prod/_data.tf
  2. +2 −1 ops/prod/api.tf
12 changes: 11 additions & 1 deletion ops/prod/_data.tf
Original file line number Diff line number Diff line change
@@ -247,4 +247,14 @@ data "azurerm_key_vault_secret" "datahub_signing_key" {
data "azurerm_key_vault_secret" "slack_hook_token" {
name = "slack-hook-token-prod"
key_vault_id = data.azurerm_key_vault.global.id
}
}

data "azurerm_key_vault_secret" "simple_report_prod_backend_url" {
name = "simple-report-prod-backend-url"
key_vault_id = data.azurerm_key_vault.global.id
}

data "azurerm_key_vault_secret" "simple_report_prod_devices_token" {
name = "simple-report-prod-devices-token"
key_vault_id = data.azurerm_key_vault.global.id
}
3 changes: 2 additions & 1 deletion ops/prod/api.tf
Original file line number Diff line number Diff line change
@@ -65,7 +65,8 @@ module "simple_report_api" {
DATAHUB_FHIR_KEY = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.datahub_fhir_key.id})"
DATAHUB_SIGNING_KEY = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.datahub_signing_key.id})"
SLACK_HOOK_TOKEN = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.slack_hook_token.id})"

SR_PROD_BACKEND_URL = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.simple_report_prod_backend_url.id})"
SR_PROD_DEVICES_TOKEN = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.simple_report_prod_devices_token.id})"
# true by default: can be disabled quickly here
# SPRING_LIQUIBASE_ENABLED = "true"
# this shadows (and overrides) an identical declaration in application.yaml