Skip to content

Commit f10048c

Browse files
authored
Merge pull request #43 from microsoft/load-existing-connections
Load existing connections + infra module refactoring + readme updates
2 parents fc69c4f + c0f6ea2 commit f10048c

22 files changed

Lines changed: 78082 additions & 26843 deletions

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
6+
## [Unreleased]
7+
### Added
8+
- Added feature to collect and connect existing connections from existing project when creating a new isolated 'production' project.
9+
- Added Change Log
10+
- Added new md to explain the feature in depth.
11+
12+
### Changed
13+
- Updates to the parameters to prompt user for true/false (feature flag) of connections
14+
15+
### Deprecated
16+
- None
17+
18+
19+
20+
## [1.0] - 2025-03-10
21+
### Added
22+
- Initial release of the template.

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ The diagram below illustrates the capabilities included in the template.
3737

3838
- Provides the ability to [add additional Azure services during deployment](docs/add_additional_services.md), configured to connect via isolation to enrich your AI project.
3939
(API Management, CosmosDB, Azure SQL DB)
40-
- Provides the ability to [define the models deployed into the hub](docs/modify_deployed_models.md) when the deployment runs.
41-
40+
41+
- <span style="font-size: 3em;">🚀</span> **New**:
42+
Offers ability to [start with an existing Azure AI Project](docs/transfer_project_connections.md) which will provision dependent Azure resources based on the Project's established connections within AI Foundry.
43+
44+
4245
## Prerequisites and high-level steps
4346

4447
1. Have access to an Azure subscription and Entra ID account with Contributor permissions.

azure.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,11 @@ name: deploy-your-ai-application-in-production
22
infra:
33
provider: "bicep"
44
metadata:
5-
template: deploy-your-ai-application-in-production@1.0
5+
template: deploy-your-ai-application-in-production@1.0
6+
hooks:
7+
preup:
8+
windows:
9+
shell: pwsh
10+
run: ./scripts/SetConnectionsEnvironmentVariables.ps1
11+
interactive: true
12+
continueOnError: false
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Transfer your existing project connections
2+
This new feature will allow you to keep existing connections and transfer them to the new isolated project.
3+
During the initial deployment, the user will now be prompted for additional information in the form of boolean 'feature flags'.
4+
![Feature Flags to select what to copy](../img/provisioning/parameterselection.png)
5+
6+
The solution will run a script to find these related connections in your existing subscription, resource group and project. The system will look in the current subscription, resource group and project, unless values are provided for resources in other subscriptions, resource groups or projects. To find these, follow these steps:
7+
- **TENANT_ID** - [how to find](https://learn.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-how-to-find-tenant#find-tenant-id-through-the-azure-portal)
8+
- **SUBSCRIPTION_ID** - [how to find](https://learn.microsoft.com/en-us/azure/azure-portal/get-subscription-tenant-id#find-your-azure-subscription)
316 KB
Loading

0 commit comments

Comments
 (0)