Skip to content

Commit

Permalink
switch session-manager to newest fn-lv
Browse files Browse the repository at this point in the history
  • Loading branch information
gquadrati committed Nov 8, 2024
1 parent 70dffb5 commit 21ada45
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/domains/citizen-auth-app/08_session_manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ data "azurerm_key_vault_secret" "session_manager_IOLOGIN_TEST_USERS" {
key_vault_id = data.azurerm_key_vault.kv.id
}

data "azurerm_linux_function_app" "itn_auth_lv_func" {
name = "${local.short_project_itn}-lv-func-02"
resource_group_name = "${local.short_project_itn}-lv-rg-01"
}

###########

resource "azurerm_resource_group" "session_manager_rg_weu" {
Expand Down Expand Up @@ -137,7 +142,7 @@ locals {

# Functions Fast Login config
FAST_LOGIN_API_KEY = data.azurerm_key_vault_secret.functions_fast_login_api_key.value
FAST_LOGIN_API_URL = "https://${module.function_fast_login_itn.default_hostname}"
FAST_LOGIN_API_URL = "https://${data.azurerm_linux_function_app.itn_auth_lv_func.default_hostname}"

# Functions Lollipop config
LOLLIPOP_API_BASE_PATH = "/api/v1"
Expand Down
1 change: 1 addition & 0 deletions src/domains/citizen-auth-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@
| [azurerm_key_vault_secret.session_manager_JWT_ZENDESK_SUPPORT_TOKEN_SECRET](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/key_vault_secret) | data source |
| [azurerm_key_vault_secret.session_manager_TEST_LOGIN_PASSWORD](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/key_vault_secret) | data source |
| [azurerm_key_vault_secret.session_manager_UNIQUE_EMAIL_ENFORCEMENT_USER](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/key_vault_secret) | data source |
| [azurerm_linux_function_app.itn_auth_lv_func](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
| [azurerm_log_analytics_workspace.log_analytics](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/log_analytics_workspace) | data source |
| [azurerm_monitor_action_group.email](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/monitor_action_group) | data source |
| [azurerm_monitor_action_group.error_action_group](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/monitor_action_group) | data source |
Expand Down

0 comments on commit 21ada45

Please sign in to comment.