From 79a99d8cb1ad595070b7266db0720303fe3f4357 Mon Sep 17 00:00:00 2001 From: Victor Vazquez Date: Mon, 8 Jul 2024 21:43:15 +0000 Subject: [PATCH] keep kv with no purge protection --- templates/todo/projects/csharp-sql/.repo/bicep/infra/main.bicep | 2 ++ templates/todo/projects/java-mongo/.repo/bicep/infra/main.bicep | 2 ++ .../todo/projects/nodejs-mongo-aks/.repo/bicep/infra/main.bicep | 1 + .../todo/projects/nodejs-mongo/.repo/bicep/infra/main.bicep | 2 ++ .../todo/projects/python-mongo/.repo/bicep/infra/main.bicep | 2 ++ 5 files changed, 9 insertions(+) diff --git a/templates/todo/projects/csharp-sql/.repo/bicep/infra/main.bicep b/templates/todo/projects/csharp-sql/.repo/bicep/infra/main.bicep index c09f92730d1..b0959badba1 100644 --- a/templates/todo/projects/csharp-sql/.repo/bicep/infra/main.bicep +++ b/templates/todo/projects/csharp-sql/.repo/bicep/infra/main.bicep @@ -131,6 +131,7 @@ module accessKeyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: keyVault.outputs.name + enablePurgeProtection: false enableRbacAuthorization: false accessPolicies: [ { @@ -227,6 +228,7 @@ module keyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: !empty(keyVaultName) ? keyVaultName : '${abbrs.keyVaultVaults}${resourceToken}' + enablePurgeProtection: false location: location tags: tags enableRbacAuthorization: false diff --git a/templates/todo/projects/java-mongo/.repo/bicep/infra/main.bicep b/templates/todo/projects/java-mongo/.repo/bicep/infra/main.bicep index d8f7e4d6423..5cb0d443c2a 100644 --- a/templates/todo/projects/java-mongo/.repo/bicep/infra/main.bicep +++ b/templates/todo/projects/java-mongo/.repo/bicep/infra/main.bicep @@ -164,6 +164,7 @@ module accessKeyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: keyVault.outputs.name + enablePurgeProtection: false enableRbacAuthorization: false accessPolicies: [ { @@ -233,6 +234,7 @@ module keyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: !empty(keyVaultName) ? keyVaultName : '${abbrs.keyVaultVaults}${resourceToken}' + enablePurgeProtection: false location: location tags: tags enableRbacAuthorization: false diff --git a/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/infra/main.bicep b/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/infra/main.bicep index c75d834ece6..422a18a1e58 100644 --- a/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/infra/main.bicep +++ b/templates/todo/projects/nodejs-mongo-aks/.repo/bicep/infra/main.bicep @@ -279,6 +279,7 @@ module keyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: !empty(keyVaultName) ? keyVaultName : '${abbrs.keyVaultVaults}${resourceToken}' + enablePurgeProtection: false location: location tags: tags enableRbacAuthorization: false diff --git a/templates/todo/projects/nodejs-mongo/.repo/bicep/infra/main.bicep b/templates/todo/projects/nodejs-mongo/.repo/bicep/infra/main.bicep index 94dec94d9b1..0dc89a1f7ab 100644 --- a/templates/todo/projects/nodejs-mongo/.repo/bicep/infra/main.bicep +++ b/templates/todo/projects/nodejs-mongo/.repo/bicep/infra/main.bicep @@ -159,6 +159,7 @@ module accessKeyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: keyVault.outputs.name + enablePurgeProtection: false enableRbacAuthorization: false accessPolicies: [ { @@ -228,6 +229,7 @@ module keyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: !empty(keyVaultName) ? keyVaultName : '${abbrs.keyVaultVaults}${resourceToken}' + enablePurgeProtection: false location: location tags: tags enableRbacAuthorization: false diff --git a/templates/todo/projects/python-mongo/.repo/bicep/infra/main.bicep b/templates/todo/projects/python-mongo/.repo/bicep/infra/main.bicep index 7c83ec3bcdb..ea112d2aebe 100644 --- a/templates/todo/projects/python-mongo/.repo/bicep/infra/main.bicep +++ b/templates/todo/projects/python-mongo/.repo/bicep/infra/main.bicep @@ -162,6 +162,7 @@ module accessKeyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: keyVault.outputs.name + enablePurgeProtection: false enableRbacAuthorization: false accessPolicies: [ { @@ -234,6 +235,7 @@ module keyVault 'br/public:avm/res/key-vault/vault:0.3.5' = { scope: rg params: { name: !empty(keyVaultName) ? keyVaultName : '${abbrs.keyVaultVaults}${resourceToken}' + enablePurgeProtection: false location: location tags: tags enableRbacAuthorization: false