Skip to content

Commit

Permalink
[#IOPID-2517] change lollipop reference on session-manager (#1360)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcogabbo authored Dec 16, 2024
1 parent b1d28fd commit e8c2af0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/domains/citizen-auth-app/07_data.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
data "azurerm_linux_function_app" "function_web_profile" {
name = format("%s-webprof-func-01", local.short_project_itn)
resource_group_name = format("%s-webprof-rg-01", local.short_project_itn)
}
}

data "azurerm_linux_function_app" "function_lollipop_itn_v2" {
name = format("%s-lollipop-func-02", local.short_project_itn)
resource_group_name = format("%s-lollipop-rg-02", local.short_project_itn)
}
2 changes: 1 addition & 1 deletion src/domains/citizen-auth-app/08_session_manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ locals {

# Functions Lollipop config
LOLLIPOP_API_BASE_PATH = "/api/v1"
LOLLIPOP_API_URL = "https://${module.function_lollipop_itn.default_hostname}"
LOLLIPOP_API_URL = "https://${data.azurerm_linux_function_app.function_lollipop_itn_v2.default_hostname}"
LOLLIPOP_API_KEY = data.azurerm_key_vault_secret.functions_lollipop_api_key.value

LOLLIPOP_REVOKE_STORAGE_CONNECTION_STRING = data.azurerm_storage_account.lollipop_assertion_storage.primary_connection_string
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 @@ -117,6 +117,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.function_lollipop_itn_v2](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | data source |
| [azurerm_linux_function_app.function_web_profile](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/linux_function_app) | 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 |
Expand Down

0 comments on commit e8c2af0

Please sign in to comment.