Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#IOPID-2517] change lollipop reference on session-manager #1360

Merged
merged 4 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading