enablePurgeProtection cannot be set to false
- 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