Azure / Azure/azure-quickstart-templates
Redis template has an optional field that is actually required
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
[101-redis-cache](https://github.com/Azure/azure-quickstart-templates/blob/master/101-redis-cache/azuredeploy.json)
### Issue Details
The deployment fails if an optional parameter, `storageAccountId`, is not entered.
### Repro steps
1. Go to https://github.com/Azure/azure-quickstart-templates/tree/master/101-redis-cache
2. Click "Deploy to Azure"
3. Enter required fields (subscription, resource group, location, name)
4. Click "Purchase"
EXPECTED:
Template is deployed error free
ACTUAL:
```json
{
"response": {
"content": {
"error": {
"code": "LinkedInvalidPropertyId",
"message": "Property id '' at path 'properties.storageAccountId' is invalid. Expect fully qualified resource Id that start with '/subscriptions/{subscriptionId}' or '/providers/{resourceProviderNamespace}/'."
}
}
}
}
```
On a side note, the Redis deployment took 15 minutes! How can it possibly take that long?
Contributor guide
No contributing guide indexed for this repository
Research direction
Open 101-redis-cache/azuredeploy.json and reproduce the deployment from the issue using only the listed required fields. Trace how storageAccountId is passed to the Redis resource, then verify that a deployment without it succeeds without the LinkedInvalidPropertyId error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, redis
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100