chore: Reuse Ai Foundry for MACAE #300
Merged
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.
This pull request introduces significant updates to the
infra/main.bicepfile and its dependent modules, focusing on enhancing AI Foundry project support, improving resource configurations, and cleaning up unused or redundant code. Key changes include adding support for existing AI Foundry projects, introducing new modules for role assignments and Key Vault exports, and removing deprecated or unnecessary configurations.Enhancements to AI Foundry Project Support:
existingFoundryProjectResourceIdparameter to allow the use of pre-existing AI Foundry projects. Updated logic to dynamically handle existing or new projects in theinfra/main.bicepfile. [1] [2] [3] [4]project.bicepmodule: Introduced a dedicated module to manage AI Foundry project creation or reuse, including metadata outputs for project name, resource ID, and API endpoint.Resource Configuration Improvements:
role.bicepmodule to streamline the creation of role assignments for AI Foundry projects and Cognitive Services accounts. This includes support for multiple roles such as AI Developer and Cognitive Services OpenAI User.keyVaultExport.bicepto enable exporting secrets to Azure Key Vaults, improving security and reusability.aiFoundryAiServicesmodule to support network ACLs, telemetry, and private endpoint configurations.Code Cleanup and Simplification:
infra/main.bicep. Examples include removing telemetry resources and simplifying virtual network configurations. [1] [2] [3]These changes collectively enhance the flexibility, maintainability, and security of the infrastructure deployment.## Purpose
Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information