Manual about "Set up MLOPs with GitHub" is not working.

hk_15 20 Reputation points
2025-01-31T16:44:24.75+00:00

I have been following this manual step by step to practice MLOPs in Azure :

https://learn.microsoft.com/en-us/azure/machine-learning/how-to-setup-mlops-github-azure-ml?view=azureml-api-2&tabs=azure-shell

I think it worked well until the section "2. Select would be tf-gha-deploy-infra.yml. This would deploy the Machine Learning infrastructure using GitHub Actions and Terraform" under "Deploy Machine Learning infrastructure" heading.

I clicked "Run Workflow" with the main branch. Then I faced an error like the attached 2 screenshots :capture_1

capture_2

I didn't modify any other scripts other than the script the manual asked me to update. I am new to MLOps environment via Azure. Please help for this error fix.

Thanks.

Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,115 questions
Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,087 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amira Bedhiafi 28,381 Reputation points
    2025-01-31T19:12:24.6233333+00:00

    I am not expert of the subject but the error I understood that your workflow is running Azure CLI 2.30.0, which may not support the --minimum-tls-version flag.

    Try to modify the GitHub Actions workflow YAML to use a newer Azure CLI version:

    - name: Install latest Azure CLI
      run: |
        curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
    

    Or modify your workflow YAML to explicitly use a compatible CLI version:

    - name: Use Azure CLI
      uses: azure/setup-cli@v1
      with:
        version: latest
    

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.