Skip to content

Commit d23df95

Browse files
committed
Fix
1 parent 370e790 commit d23df95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scenarios/AksOpenAiTerraform/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ ms.author: ariaamini
88
ms.custom: innovation-engine, linux-related-content
99
---
1010

11-
## Authenticate
11+
## Authenticate (~1 minute)
1212
Create a new service principal and pass it to Terraform so it can manage Azure resources on your behalf.
1313
```bash
1414
export SERVICE_PRINCIPAL=$(az ad sp create-for-rbac --name "ExecutableDocs" --role="Contributor" --scopes="/subscriptions/$SUBSCRIPTION_ID")
15-
export ARM_CLIENT_ID=$(jq .appId <<< "$SERVICE_PRINCIPAL")
16-
export ARM_CLIENT_SECRET=$(jq .password <<< "$SERVICE_PRINCIPAL")
17-
export ARM_TENANT_ID=$(jq .tenant <<< "$SERVICE_PRINCIPAL")
15+
export ARM_CLIENT_ID=$(jq -r .appId <<< "$SERVICE_PRINCIPAL")
16+
export ARM_CLIENT_SECRET=$(jq -r .password <<< "$SERVICE_PRINCIPAL")
17+
export ARM_TENANT_ID=$(jq -r .tenant <<< "$SERVICE_PRINCIPAL")
1818
export ARM_SUBSCRIPTION_ID=$SUBSCRIPTION_ID
1919
```
2020

0 commit comments

Comments
 (0)