Azure / Azure/ai-hub

enablePurgeProtection cannot be set to false

Open
#241 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HCL
Stars
87
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've been attempting to deploy this, but disabled purge protection (solely for testing purposes), however the deployment always fails and doesn't get beyond the key vault deployment.

"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see
https://aka.ms/arm-deployment-operations
for usage details.","details":[{"code":"BadRequest","message":"{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The property \\\"enablePurgeProtection\\\" cannot be set to false. Enabling the purge protection for a vault is an irreversible action.\"\r\n }\r\n}"}]}]}]}

Is this no longer an optional setting?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the Key Vault deployment configuration that sets enablePurgeProtection and compare its behavior with Azure's documented irreversible purge-protection rule. Confirm whether the setting should be optional or true-only, and verify the expected deployment behavior using the reported configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
terraform
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.