Azure / Azure/Medical-Claims-Transaction-Processing-at-scale

Update versions and resolve warnings for a cleaner deployment

Open
#13 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
45
Forks
37
PR merge metrics
No merged PRs in 30d

Description

\infrastructure\AKS-Construction\bicep\main.bicep(815,60) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.Insights/diagnosticSettings'. '2021-05-01-preview' is 870 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2016-09-01 [https://aka.ms/bicep/linter/use-recent-api-versions]
\infrastructure\AKS-Construction\bicep\main.bicep(1339,58) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.ContainerService/managedClusters'. '2023-05-02-preview' is a preview version and there is a more recent non-preview version available. Acceptable versions: 2023-06-02-preview, 2023-06-01, 2023-05-01, 2023-04-01, 2023-03-01, 2023-02-01, 2023-01-01, 2022-11-01, 2022-09-01, 2022-07-01, 2022-06-01, 2022-04-01, 2022-03-01, 2022-02-01, 2022-01-01, 2021-10-01 [https://aka.ms/bicep/linter/use-recent-api-versions]
\infrastructure\cosmos.bicep(15,7) : Warning no-unused-params: Parameter "analyticsTTL" is declared but never used. [https://aka.ms/bicep/linter/no-unused-params]
\infrastructure\AKS-Construction\bicep\network.bicep(242,61) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.Network/privateEndpoints'. '2021-08-01' is 778 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2023-04-01, 2023-02-01, 2022-11-01, 2022-09-01, 2022-07-01, 2022-05-01, 2022-01-01 [https://aka.ms/bicep/linter/use-recent-api-versions]
\infrastructure\AKS-Construction\bicep\network.bicep(282,90) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.Network/privateEndpoints/privateDnsZoneGroups'. '2021-08-01' is 778 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2023-04-01, 2023-02-01, 2022-11-01, 2022-09-01, 2022-07-01, 2022-05-01, 2022-01-01 [https://aka.ms/bicep/linter/use-recent-api-versions]
\infrastructure\AKS-Construction\bicep\network.bicep(408,57) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.Storage/storageAccounts'. '2021-08-01' is 778 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2023-01-01, 2022-09-01, 2022-05-01 [https://aka.ms/bicep/linter/use-recent-api-versions]
\infrastructure\AKS-Construction\bicep\network.bicep(508,55) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.Network/publicIPAddresses'. '2021-08-01' is 778 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2023-04-01, 2023-02-01, 2022-11-01, 2022-09-01, 2022-07-01, 2022-05-01, 2022-01-01 [https://aka.ms/bicep/linter/use-recent-api-versions]
\infrastructure\AKS-Construction\bicep\network.bicep(524,47) : Warning use-recent-api-versions: Use more recent API version for 'Microsoft.Network/natGateways'. '2021-08-01' is 778 days old, should be no more than 730 days old, or the most recent. Acceptable versions: 2023-04-01, 2023-02-01, 2022-11-01, 2022-09-01, 2022-07-01, 2022-05-01, 2022-01-01 [https://aka.ms/bicep/linter/use-recent-api-versions]

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with infrastructure/AKS-Construction/bicep/main.bicep at lines 815 and 1339, infrastructure/cosmos.bicep at line 15, and infrastructure/AKS-Construction/bicep/network.bicep at the listed lines. Review the Bicep linter warnings and the available API versions in the issue, then update the affected declarations and address the unused analyticsTTL parameter. Done means the listed warnings no longer appear when these templates are linted.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
cloud, infrastructure
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.