Skip to content

Commit

Permalink
Merge branch 'main' into jr/upstream-main/70-disable-cross-tenant-rep…
Browse files Browse the repository at this point in the history
…lication
  • Loading branch information
jonnyry authored Nov 6, 2024
2 parents 8ec939d + f0c2a59 commit 044620d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ENHANCEMENTS:
* Update Terraform to use Azure AD authentication rather than storage account keys ([#4103](https://github.com/microsoft/AzureTRE/issues/4103))

BUG FIXES:
- Update KeyVault references in API to use the version so Terraform cascades the update ([#4112](https://github.com/microsoft/AzureTRE/pull/4112))

COMPONENTS:

Expand Down
6 changes: 3 additions & 3 deletions core/terraform/api-webapp.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ resource "azurerm_linux_web_app" "api" {
"RESOURCE_LOCATION" = azurerm_resource_group.core.location
"ENABLE_SWAGGER" = var.enable_swagger
"SWAGGER_UI_CLIENT_ID" = var.swagger_ui_client_id
"AAD_TENANT_ID" = "@Microsoft.KeyVault(SecretUri=${azurerm_key_vault_secret.auth_tenant_id.id})"
"API_CLIENT_ID" = "@Microsoft.KeyVault(SecretUri=${azurerm_key_vault_secret.api_client_id.id})"
"API_CLIENT_SECRET" = "@Microsoft.KeyVault(SecretUri=${azurerm_key_vault_secret.api_client_secret.id})"
"AAD_TENANT_ID" = "@Microsoft.KeyVault(SecretUri=${azurerm_key_vault.kv.vault_uri}secrets/${azurerm_key_vault_secret.auth_tenant_id.name}/${azurerm_key_vault_secret.auth_tenant_id.version})"
"API_CLIENT_ID" = "@Microsoft.KeyVault(SecretUri=${azurerm_key_vault.kv.vault_uri}secrets/${azurerm_key_vault_secret.api_client_id.name}/${azurerm_key_vault_secret.api_client_id.version})"
"API_CLIENT_SECRET" = "@Microsoft.KeyVault(SecretUri=${azurerm_key_vault.kv.vault_uri}secrets/${azurerm_key_vault_secret.api_client_secret.name}/${azurerm_key_vault_secret.api_client_secret.version})"
"RESOURCE_GROUP_NAME" = azurerm_resource_group.core.name
"SUBSCRIPTION_ID" = data.azurerm_subscription.current.subscription_id
CORE_ADDRESS_SPACE = var.core_address_space
Expand Down

0 comments on commit 044620d

Please sign in to comment.