diff --git a/infra/deploy.sh b/infra/deploy.sh index 5b32ab0..06e88a1 100755 --- a/infra/deploy.sh +++ b/infra/deploy.sh @@ -314,8 +314,6 @@ deployAzureResources () { echo "Deploying Azure resources..." local SSH_PUBLICKEY=$(jq -r .publicKey <<< $SSHKEY_DETAILS) exitIfValueEmpty "$SSH_PUBLICKEY" "Unable to read ssh publickey, exiting..." - local aoaiName=$(az cognitiveservices account list --query "[?contains(properties.endpoint, '$GRAPHRAG_API_BASE')] | [0].name" -o tsv) - exitIfValueEmpty "$aoaiName" "Unable to retrieve AOAI name from GRAPHRAG_API_BASE, exiting..." local datetime="`date +%Y-%m-%d_%H-%M-%S`" local deployName="graphrag-deploy-$datetime" echo "Deployment name: $deployName"