Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
grausof committed Oct 4, 2024
1 parent 4bf60fb commit c7ce462
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions infra/resources/_modules/function_apps/data.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
data "azurerm_function_app_host_keys" "this" {
name = module.function_app_user.function_app.function_app.name
resource_group_name = module.function_app_user.function_app.resource_group_name
name = module.function_app_user_02.function_app.function_app.name
resource_group_name = module.function_app_user_02.function_app.resource_group_name
}

data "azurerm_function_app_host_keys" "support_func" {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# tfsec:ignore:azure-keyvault-ensure-secret-expiry
resource "azurerm_key_vault_secret" "func_user_default_key" {
name = "funciowallet-KEY-APPBACKEND"
value = data.azurerm_function_app_host_keys.user_func_02.default_function_key
value = data.azurerm_function_app_host_keys.this.default_function_key
key_vault_id = var.key_vault_id
content_type = "token"
}
Expand Down

0 comments on commit c7ce462

Please sign in to comment.