Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielClarkeEducation committed Oct 4, 2024
1 parent 7afc934 commit 0dc0a20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions terraform/modules/azure-web/web-app.tf
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ resource "azurerm_monitor_diagnostic_setting" "webapp_slot_logs_monitor" {
count = var.environment != "development" ? 1 : 0

name = "${var.resource_name_prefix}-webapp-${var.webapp_slot_name}-mon"
target_resource_id = azurerm_linux_web_app_slot.webapp_slot.id
target_resource_id = azurerm_linux_web_app_slot.webapp_slot[0].id
log_analytics_workspace_id = azurerm_log_analytics_workspace.webapp_logs.id

enabled_log {
Expand Down Expand Up @@ -415,7 +415,7 @@ resource "azurerm_key_vault_access_policy" "webapp_kv_app_service_slot" {

key_vault_id = var.kv_id
tenant_id = data.azurerm_client_config.az_config.tenant_id
object_id = azurerm_linux_web_app_slot.webapp_slot.identity.0.principal_id
object_id = azurerm_linux_web_app_slot.webapp_slot[0].identity.0.principal_id
key_permissions = ["Get", "UnwrapKey", "WrapKey"]
secret_permissions = ["Get", "List"]
certificate_permissions = ["Get"]
Expand Down

0 comments on commit 0dc0a20

Please sign in to comment.