Skip to content

Commit 07cd017

Browse files
committed
update readme steps for Add additional Azure services
1 parent 87d6830 commit 07cd017

3 files changed

Lines changed: 22 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The diagram below illustrates the capabilities included in the template.
3535

3636
- Configures AI Foundry, adhering to the best practices outlined in the Well Architected Framework.
3737

38-
- Provides the ability to [add additional Azure services during deployment](docs/feature_flags.md), configured to connect via isolation to enrich your AI project.
38+
- 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)
4040

4141
## Prerequisites and high-level steps
Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
## Feature Flags
1+
## Add additional Azure services when deploying
22

3-
Within this deployment of AI Foundry, we also have coupled several additional Azure services that are commonly deployed when creating an AI solution. We have added the ability to deploy these services at the same time as Foundry, or as an additional run of the deployment to add the services later.
4-
To allow for this, we leverage several true/false values to either enable or disable (default behavior) the deployment and configuration of the service(s).
3+
Within this deployment automation of AI Foundry, we also have coupled several additional Azure services that are commonly deployed when creating an AI solution. We have added the ability to deploy these services at the same time as the AI Foundry deployment, or to add the services later.
4+
These 'feature flags' leverage true/false values to either enable or disable (default behavior) the deployment and configuration of the following service(s):
55

6-
Below is a table of the available feature flags in this repository:
6+
**Table of the available feature flags in this repository:**
77

88
| **Feature Flag Name** | **Effect When Enabled** | **Instructions to Enable** |
99
|------------------------------|---------------------------------------------------------|-------------------------------------------------------------------------------------------|
@@ -12,5 +12,17 @@ Below is a table of the available feature flags in this repository:
1212
| `acrEnabled` | Enables Azure Container Registry (ACR) integration. | Set the environment variable `AZURE_ACR_ENABLED` to `true`. |
1313
| `apiManagementEnabled` | Enables API Management integration. | Set the environment variable `AZURE_API_MANAGEMENT_ENABLED` to `true`. |
1414

15-
To enable these features during the deplpoyment of your Foundry services, simply set the default value of false to 'true'. This will the add that selected feature into the deployment and the features will integrate to the virtual network, private endpoints, and dns zones.
16-
Additionally, within the infra/ folder you can modify the main.parameters.json file to set the value to 'true' if you plan to deploy with that feature enabled each time.
15+
To enable these features during the deplpoyment of your Foundry services, simply set the value to 'true' when prompted. This will the add that selected feature into the deployment and the features will integrate to the virtual network, private endpoints, and dns zones.
16+
17+
You can set the values as an env variable within the code
18+
```powershell
19+
azd env set AZURE_API_MANAGEMENT_ENABLED true
20+
```
21+
22+
Additionally, within the infra/ folder you can modify the main.parameters.json file to set the value to
23+
```json
24+
"apiManagementEnabled": {
25+
"value": "${AZURE_API_MANAGEMENT_ENABLED=true}"
26+
}
27+
```
28+
if you plan to deploy with that feature enabled each time you deploy this solution.

infra/main.parameters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
"value": "${AZURE_VM_SIZE=Standard_DS4_v2}"
1616
},
1717
"cosmosDbEnabled": {
18-
"value": "${AZURE_COSMOS_DB_ENABLED=false}"
18+
"value": "${AZURE_COSMOS_DB_ENABLED}"
1919
},
2020
"sqlServerEnabled": {
21-
"value": "${AZURE_SQL_SERVER_ENABLED=false}"
21+
"value": "${AZURE_SQL_SERVER_ENABLED}"
2222
},
2323
"acrEnabled": {
24-
"value": "${AZURE_ACR_ENABLED=false}"
24+
"value": "${AZURE_ACR_ENABLED}"
2525
},
2626
"apiManagementEnabled": {
2727
"value": "${AZURE_API_MANAGEMENT_ENABLED}"

0 commit comments

Comments
 (0)