AKS-Construction
AKS-Construction copied to clipboard
[DRAFT] Change Bicep Linter to expect latest non-preview apiVersion
PR Summary
- Updated Bicep Linter
use-recent-api-versionsconfiguration 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)
PR smells stale, no activity for 30 days. Stale Label will be removed if the PR is updated, otherwise closed in a month.
PR smells stale, no activity for 30 days. Stale Label will be removed if the PR is updated, otherwise closed in a month.