AKS-Construction icon indicating copy to clipboard operation
AKS-Construction copied to clipboard

[DRAFT] Change Bicep Linter to expect latest non-preview apiVersion

Open pjlewisuk opened this issue 1 year ago • 2 comments

PR Summary

  • Updated Bicep Linter use-recent-api-versions configuration to expect the latest non-preview version of an API, to remove / reduce the number of warnings we get when deploying via Bicep, even when the API version we're using is the latest (but >730 days old), e.g.
/home/runner/work/AKS-Construction/AKS-Construction/bicep/keyvaultkey.bicep(3,40) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.KeyVault/vaults'. '2022-07-01' is 768 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2024-04-01-preview, 2023-07-01, 2023-02-01, 2022-11-01 [https://aka.ms/bicep/linter/use-recent-api-versions]

PR Checklist

  • [x] PR has a meaningful title
  • [x] Summarized changes
  • [ ] This PR is ready to merge and is not Work in Progress
  • [ ] Link to a filed issue
  • [ ] Screenshot of UI changes (if PR includes UI changes)

pjlewisuk avatar Aug 07 '24 16:08 pjlewisuk

PR smells stale, no activity for 30 days. Stale Label will be removed if the PR is updated, otherwise closed in a month.

github-actions[bot] avatar Sep 11 '24 09:09 github-actions[bot]

PR smells stale, no activity for 30 days. Stale Label will be removed if the PR is updated, otherwise closed in a month.

github-actions[bot] avatar Oct 15 '24 09:10 github-actions[bot]