ARM Template locks
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- azure
- Domain
- cloud
Research direction
Start by reviewing the ARM template examples in the issue and the Microsoft.Authorization/locks resource scope shown there. Determine whether key-value locking belongs in the key-value properties, resource-lock support, or both. Done means the supported creation and post-creation locking behavior is documented and validated for the requested scenarios.
Written by the indexing model from the issue text.
Description
I'd like the ability to lock a keyvalue at creation and/or after creation.
Perhaps something like this (see .properties.locked):
{
"type": "Microsoft.AppConfiguration/configurationStores/keyValues",
"apiVersion": "2020-07-01-preview",
"name": "[concat(variables('configStoreName'), '/environment:name')]",
"dependsOn": [
"[variables('configStoreName')]"
],
"properties": {
"value": "[parameters('environmentName')]",
"contentType": "text/plain",
"tags": "",
"locked": true
}
},
The alternative is that I'm able to apply resource locks to configuration keyvalues, but this would also be useful in addition to the above method.
{
"type": "Microsoft.Authorization/locks",
"apiVersion": "2016-09-01",
"name": "environmentNameLock",
"scope": "[resourceId('Microsoft.AppConfiguration/configurationStores/keyValues', variables('configStoreName'), 'environment:name')]",
"dependsOn": [
"[resourceId('Microsoft.AppConfiguration/configurationStores/keyValues', variables('configStoreName'), 'environment:name')]"
],
"properties": {
"level": "ReadOnly",
"notes": "Config must not be modified or deleted."
}
},
- Dominant language
- No language data
- Stars
- 263
- Forks
- 82
- Avg merge
- 3d 15h
- Merged PRs (30d)
- 6
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/AppConfiguration
-
Difficulty 3/5 1-2 days Newbie friendliness 48/100
Azure/AppConfiguration#1155 · 3 comments ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Azure/AppConfiguration#1126 · 5 comments ·
-
enhancement service
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/AppConfiguration#1125 ·
-
enhancement FeatureManagement
Difficulty 5/5 Over a week Newbie friendliness 20/100
Azure/AppConfiguration#1124 ·
-
enhancement FeatureManagement service
Difficulty 5/5 Over a week Newbie friendliness 25/100
Azure/AppConfiguration#1123 ·
All issues in Azure/AppConfiguration
Similar issues
-
Product: Azure Policy :shield: Topic: Diagnostic Settings :test_tube: Topic: Policy :pencil:
Difficulty 1/5 1-3 hours Newbie friendliness 92/100
Azure/Azure-Landing-Zones#4283 · 1 comment ·
-
feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug zenodo
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Language: Terraform :globe_with_meridians: Needs: Triage :mag: Type: Bug :bug:
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Azure/terraform-azurerm-avm-res-containerregistry-registry#230 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100