fix: reduced the replica instance count to 1 for WAF version #738
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request updates the infrastructure deployment templates to use newer resource API versions and aligns metadata to the latest Bicep tooling. The main functional change is a modification to the scalability configuration for the web server farm, while the majority of updates are version bumps for improved compatibility and future-proofing.
Resource API version upgrades:
apiVersionfor multiple Azure resource deployments ininfra/main.jsonfrom2022-09-01to2025-04-01, affecting resources such as Log Analytics Workspace, Application Insights, Managed Identity, Virtual Network, Bastion Host, Virtual Machine, Private DNS Zone, Key Vault, Cognitive Services, Network Security Group, and others. This ensures compatibility with the latest Azure features and improvements. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]Tooling and metadata updates:
infra/main.jsonto use version0.38.33.27573(previously0.37.4.10188) and refreshed template hashes throughout the file, ensuring alignment with the latest Bicep tooling and template generation standards. [1] [2] [3] [4] [5] [6] [7] [8] [9]Web server farm scalability configuration:
skuCapacitylogic in thewebServerFarmmodule ininfra/main.bicepso that enabling scalability now sets the capacity to1instead of3, possibly to optimize resource usage or costs.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation