File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
scenarios/AksOpenAiTerraform Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ terraform -chdir=terraform apply -auto-approve
2727In order to use the kubectl to run commands on the newly created cluster, you must first login.
2828``` bash
2929RESOURCE_GROUP=$( terraform -chdir=terraform output -raw resource_group_name)
30- az aks get-credentials --admin --name AksCluster --resource-group $RESOURCE_GROUP --subscription $SUBSCRIPTION_ID
30+ AKS_CLUSTER_NAME=$( terraform -chdir=terraform output -raw aks_cluster_name)
31+ az aks get-credentials --admin --name $AKS_CLUSTER_NAME --resource-group $RESOURCE_GROUP --subscription $SUBSCRIPTION_ID
3132```
3233
3334# Install Helm Charts
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ output "resource_group_name" {
22 value = azurerm_resource_group. main . name
33}
44
5+ output "aks_cluster_name" {
6+ value = azurerm_kubernetes_cluster. main . name
7+ }
8+
59output "workload_identity_client_id" {
610 value = azurerm_user_assigned_identity. workload . client_id
711}
You can’t perform that action at this time.
0 commit comments