Azure / mlops-v2

Azure MLOps (v2) solution accelerators. Enterprise ready templates to deploy your machine learning models on the Azure Platform.
https://learn.microsoft.com/en-us/azure/machine-learning/concept-model-management-and-deployment
MIT License
478 stars 225 forks source link

The operation was canceled #47

Closed kinfey closed 1 year ago

kinfey commented 1 year ago

When I run Outer Loop: Deploying Infrastructure via Azure DevOps pip line Azure DevOps give me this error

2022-08-04T07:59:48.3348777Z [command]/opt/hostedtoolcache/terraform/0.14.7/x64/terraform plan -var location=westus -var prefix=mlopsv2 -var postfix=1699 -var environment=prod -var enable_aml_computecluster=true -detailed-exitcode 2022-08-04T07:59:50.9124061Z Acquiring state lock. This may take a few moments... 2022-08-04T07:59:52.1053307Z var.client_secret 2022-08-04T07:59:52.1054837Z Service Principal Secret 2022-08-04T07:59:52.1055171Z 2022-08-04T08:59:23.3030923Z Enter a value:  2022-08-04T08:59:23.3501608Z ##[error]The operation was canceled. 2022-08-04T08:59:23.3508829Z ##[section]Finishing: Terraform plan

setuc commented 1 year ago

It seems your potentially did not setup the Service Principal or it was set as input.

We discussed this offline and will close this request for now.