We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85816ec commit 1ed6516Copy full SHA for 1ed6516
terraform/keyvault.tf
@@ -6,10 +6,18 @@ resource "azurerm_key_vault" "kv" {
6
sku_name = "standard"
7
purge_protection_enabled = true
8
soft_delete_retention_days = 7
9
+
10
+ lifecycle {
11
+ prevent_destroy = true
12
+ }
13
}
14
15
resource "azurerm_key_vault_secret" "ai_connection_string" {
16
name = "ApplicationInsights--ConnectionString"
17
value = azurerm_application_insights.ai.connection_string
18
key_vault_id = azurerm_key_vault.kv.id
19
20
21
22
23
0 commit comments