feat: Introduce abbreviations.json and update Bicep files for consistent resource naming #412
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 introduces a centralized abbreviation system for resource naming in Azure infrastructure deployment scripts. The changes streamline naming conventions by loading abbreviations from a new
abbreviations.json
file and applying them across multiple Bicep deployment files. Additionally, a minor change comments out a property in the AI services resource configuration.Centralized Abbreviation Management:
infra/abbreviations.json
to define a standardized set of abbreviations for Azure resource types, categorized by service domains like AI, compute, storage, networking, etc.deploy_ai_foundry.bicep
,deploy_app_service.bicep
,deploy_cosmos_db.bicep
,deploy_keyvault.bicep
,deploy_managed_identity.bicep
,deploy_storage_account.bicep
, andmain.bicep
) to load and use these abbreviations for resource naming. Examples include:aiServicesName
) now use${abbrs.ai.aiServices}
instead of hardcoded prefixes likeais-
.saName
) now use${abbrs.storage.storageAccount}
instead ofst
.keyvaultName
) now use${abbrs.security.keyVault}
instead ofkv-
.Minor AI Services Configuration Change:
statisticsEnabled
property in the AI services resource definition indeploy_ai_foundry.bicep
. This change might require further clarification on its intent.Does this introduce a breaking change?
Golden Path Validation
Deployment Validation
What to Check
Verify that the following are valid
Other Information