Azure / Azure/azure-quickstart-templates

CI Best practices tests API Version fail

Open
#6,435 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

When CI is run as a part of a pull request #6434 it fails on the "Run Best Practices Tests".
Following error messages are shown:

> ##[error] Api versions should be under 2 years old (730 days) - (Microsoft.Insights/autoscalesettings is 1601 days old)
> ##[error] Api versions should be under 2 years old (730 days) - (Microsoft.Insights/alertrules is 1266 days old)

I am specifying API versions 2015-04-01 for autoscalesettings and 2016-03-01 for alertrules. To my knowledge, these are the newest API Versions for those resources.
I would appreciate any suggestions/workaround on how to fix this issue. Or if there are newer API Versions, is there a list somewhere?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the failing “Run Best Practices Tests” step from pull request #6434 and inspect how it checks API versions. Compare the reported Microsoft.Insights/autoscalesettings and Microsoft.Insights/alertrules versions with the latest supported Azure versions; done means the CI check passes or the limitation is documented with a confirmed workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
ci-cd, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.