Skip to content

fix: Update parameters for AI services and remove secondary location references#142

Closed
Prachig-Microsoft wants to merge 3 commits intodevfrom
psl-prachi-params
Closed

fix: Update parameters for AI services and remove secondary location references#142
Prachig-Microsoft wants to merge 3 commits intodevfrom
psl-prachi-params

Conversation

@Prachig-Microsoft
Copy link

Purpose

This pull request updates environment parameter documentation and infrastructure parameter files to better align with current Azure resource requirements and simplify configuration. The main changes are the removal of unused parameters and the addition of new, optional parameters for advanced scenarios.

Parameter documentation updates:

  • Removed the AZURE_SECONDARY_LOCATION parameter and its references, as it is no longer required. [1] [2] [3]
  • Added new optional parameters to the documentation:
    • AZURE_AI_SERVICE_LOCATION for specifying the Azure region for AI services (OpenAI/AI Foundry).
    • AZURE_ENV_LOG_ANALYTICS_WORKSPACE_ID for using an existing Log Analytics workspace.
    • AZURE_EXISTING_AI_PROJECT_RESOURCE_ID for using an existing AI Foundry project.

Infrastructure parameter file simplification:

  • Removed secondaryLocation and azureAiServiceLocation from infra/main.parameters.json and infra/main.waf.parameters.json to match the updated documentation and streamline deployment parameters. [1] [2] [3] [4]

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

- Reverted containerRegistryHost to use AZURE_CONTAINER_REGISTRY_HOST
- Reverted AI model parameters to use AZURE_AI_MODEL_NAME, AZURE_AI_MODEL_VERSION, AZURE_AI_MODEL_CAPACITY
- Reverted deployment type to use AZURE_AI_DEPLOYMENT_TYPE
- Removed enableTelemetry parameter customization (uses bicep default)
- Updated workflow files and documentation to reflect original naming
- Kept AZURE_ENV_ prefix only for: AI_SERVICE_LOCATION, LOG_ANALYTICS_WORKSPACE_RID, FOUNDRY_PROJECT_RID, VM_ADMIN credentials, IMAGETAG
@Prachig-Microsoft
Copy link
Author

Validation in progress for latest commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants