diff --git a/devops/terraform/locals.tf b/devops/terraform/locals.tf index 3f4e6efae..3beb01d41 100644 --- a/devops/terraform/locals.tf +++ b/devops/terraform/locals.tf @@ -1,4 +1,4 @@ locals { # The key store for encryption keys could either be external or created by terraform - key_store_id = var.enable_cmk_encryption ? (var.external_key_store_id != null ? var.external_key_store_id : data.azurerm_key_vault.encryption_kv[0].id) : null + key_store_id = var.enable_cmk_encryption ? (var.external_key_store_id != null ? var.external_key_store_id : azurerm_key_vault.encryption_kv[0].id) : null }