Skip to content

chore: Reuse AI Foundry Project#161

Merged
Roopan-Microsoft merged 3 commits intodevfrom
psl-down-merge-reuse-aif
Jul 10, 2025
Merged

chore: Reuse AI Foundry Project#161
Roopan-Microsoft merged 3 commits intodevfrom
psl-down-merge-reuse-aif

Conversation

@Shreyas-Microsoft
Copy link
Copy Markdown
Collaborator

Purpose

This pull request introduces several enhancements and updates to the infra Bicep files, primarily focusing on support for existing AI projects, improved resource configurations, and the addition of a new module for Key Vault secret management. Below is a summary of the most important changes grouped by theme.

Support for Existing AI Projects:

  • Added a new parameter azureExistingAIProjectResourceId to allow reuse of an existing AI project resource ID in infra/main.bicep and infra/main.parameters.json. [1] [2]
  • Updated the aiServices module to include configurations for reusing existing AI project resources, such as existingFoundryProjectResourceId, and added new properties like disableLocalAuth and allowProjectManagement.
  • Modified infra/modules/ai-foundry/project.bicep to conditionally create a new AI project or reference an existing one based on the azureExistingAIProjectResourceId parameter. Outputs now include metadata for the AI project. [1] [2]

Resource Configuration Updates:

  • Changed the name format for the aiServices module to align with the naming conventions for Cognitive Services accounts.
  • Updated role assignments in the keyVault module to use the Key Vault Administrator role instead of Key Vault Reader and adjusted the principal ID logic.
  • Updated environment variables in the containerAppBackend module to use aiProjectInfo outputs for better alignment with the new AI project structure. [1] [2]

New Module for Key Vault Secret Management:

  • Added a new module keyVaultExport.bicep for managing Key Vault secrets, including parameters for secret configuration and outputs for secret references.

Documentation Fix:

  • Fixed a minor typo in infra/samples/network_subnet_design.md to correct the formatting of a file reference.

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.

What to Check

Verify that the following are valid

  • ...

Other Information

Roopan-Microsoft and others added 2 commits July 8, 2025 21:39
feat: Merging the naming standard changes from dev to main
@Roopan-Microsoft Roopan-Microsoft changed the base branch from main to dev July 10, 2025 11:00
@Roopan-Microsoft Roopan-Microsoft merged commit fb95fe5 into dev Jul 10, 2025
8 checks passed
@Shreyas-Microsoft Shreyas-Microsoft deleted the psl-down-merge-reuse-aif branch July 17, 2025 14:27
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.5.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Ritesh-Microsoft pushed a commit that referenced this pull request Oct 10, 2025
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