Azure / Azure/azure-quickstart-templates
PR Validation fails
Nobody has claimed this yet.
- Dominant language
- Bicep
- Stars
- 14.9k
- Forks
- 16.2k
- Avg merge
- 6d 21h
- Merged PRs (30d)
- 6
Description
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
Sorry to hear you had a bad experience with one of the templates 😟 But, in case you're just asking a question, we're happy to help. You can also check if the question might already have been asked here https://github.com/Azure/azure-quickstart-templates/issues?utf8=%E2%9C%93&q=is%3Aissue
We've created an outline of recommended sections to fill out that will help make this Pull Request awesome!
--------------------MESSAGE FROM ADMIN, DELETE BEFORE SUBMITTING----------------------
[Template Name goes here](Template link goes here)
Issue Details
Created a template for Update Management, with this template it creates a Microsoft.OperationalInsights/workspaces/Microsoft.OperationsManagement/solutions. But the PR validation fails saying the API version is more than two years old or preview. but I can't find a newer API Version for this resource in below doc.
https://docs.microsoft.com/en-us/azure/templates/microsoft.operationsmanagement/allversions
I tried with PS also can't find a new version
[12:47:22]:k.rajapakse > (Get-AzResourceProvider -ProviderNamespace Microsoft.OperationsManagement).ResourceTypes
ResourceTypeName : solutions
Locations : {East US, West Europe, Southeast Asia, Australia Southeast...}
ApiVersions : {2015-11-01-preview}
Validation suggesting the following api version but it brakes the deployment as below
2017-04-26-preview
7:39:09 AM - Resource Microsoft.OperationsManagement/solutions 'Updates(update-test123)' failed with message '{
"error": {
"code": "NoRegisteredProviderFound",
"message": "No registered resource provider found for location 'westus' and API version '2017-04-26-preview' for type 'solutions'. The supported api-versions are '2015-11-01-preview'. The supported locations are 'eastus, westeurope, southeastasia, australiasoutheast, westcentralus, japaneast, uksouth, centralindia, canadacentral, westus2, australiaeast, australiacentral, francecentral, koreacentral, northeurope, centralus, eastus2, eastasia, westus, southcentralus, northcentralus, ukwest, southafricanorth, brazilsouth, switzerlandnorth, switzerlandwest'."
}
}```
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.
Research direction
Start by reproducing the PR validation failure for Microsoft.OperationsManagement/solutions using the API versions shown in the issue, then compare that validation rule with the provider's reported supported version. Check whether the deployment succeeds with 2015-11-01-preview and document a validated resolution for the template; no template file or test path is provided.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, powershell
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100