File tree Expand file tree Collapse file tree 1 file changed +32
-3
lines changed
scenarios/AksOpenAiTerraform Expand file tree Collapse file tree 1 file changed +32
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,40 @@ ms.author: ariaamini
88ms.custom : innovation-engine, linux-related-content
99---
1010
11+ <!-- TODO: PARAMETERIZE REGION AND SUB IDS -->
12+
1113## Install AKS extension
1214
1315Run commands below to set up AKS extensions for Azure.
1416
1517``` bash
16- # ./terraform/register-preview-features.sh
17- echo " HI"
18- ```
18+ ./terraform/register-preview-features.sh
19+ ```
20+
21+ ## Set up service principal
22+
23+ A Service Principal is an application within Azure Active Directory with the authentication tokens Terraform needs to perform actions on your behalf.
24+
25+ ``` bash
26+ # TODO: fix
27+ # az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/$ARM_SUBSCRIPTION_ID"
28+ ```
29+
30+ ## Setup Infra
31+
32+ ``` bash
33+ export ARM_SUBSCRIPTION_ID=" 0c8875c7-e423-4caa-827a-1f0350bd8dd3"
34+ # For debugging in powershell
35+ # $env:ARM_SUBSCRIPTION_ID = "0c8875c7-e423-4caa-827a-1f0350bd8dd3"
36+
37+ terraform apply
38+ ```
39+
40+ ## Set up environment
41+
42+ ``` bash
43+ export ARM_CLIENT_ID=" "
44+ export ARM_CLIENT_SECRET=" "
45+ export ARM_SUBSCRIPTION_ID=" "
46+ export ARM_TENANT_ID=" "
47+ ```
You can’t perform that action at this time.
0 commit comments