Azure / Azure/azure-quickstart-templates
Example 201-Key-Vault-With-Logging-Create has invalid keyvault API
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
[201-key-vault-with-logging-create](https://github.com/Azure/azure-quickstart-templates/tree/master/201-key-vault-with-logging-create)
### Issue Details
If you load this template in visual studios and look in the resources section of the JSON you can see there is an issue where the apiVersion is "2016-10-01" but the schema linked at the start of the file only allows this value to be "2014-12-19-preview" or "2015-06-01" neither version of which support creation of a key vault with a resource object of type "Microsoft.KeyVault/vaults/providers/diagnosticsettings"
While this may not impact the functionality of the code it would help if the code was compliant to the schema, or the schema updated.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open the 201-key-vault-with-logging-create template linked in the issue and inspect its JSON schema declaration and Microsoft.KeyVault/vaults/providers/diagnosticsettings resource. Compare the declared schema versions with the resource apiVersion and verify the valid Azure API options. Done means the template's resource version is compliant with the referenced schema, or the schema is updated to match it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, json
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100