Skip to content

Azure CLI curl package removed as default in 2.54.0 #27882

@kesava9

Description

@kesava9

Describe the bug

We have noticed that curl is missing in Azure CLI version 2.54.0 which is present in all previous versions as default.

This can be replicated using following github workflow :

name: AzureCLI
on:
  pull_request:
    branches:
      - main
jobs:
  check-cli-curl:
    runs-on: ubuntu-latest
    steps:
        
    - name: Add the runner
      uses: azure/CLI@v1
      with:
        azcliversion: 2.53.1
        inlineScript: |
          set -x
          IP=`curl https://api.ipify.org`
          echo "RUNNER_IP=$IP" >> $GITHUB_ENV
          
        
    - name: Add the runner
      uses: azure/CLI@v1
      with:
        azcliversion: 2.54.0
        inlineScript: |
          set -x
          IP=`curl https://api.ipify.org`
          echo "RUNNER_IP=$IP" >> $GITHUB_ENV

Related command

curl https://api.ipify.org

Errors

curl not found in latest version

Issue script & Debug output

NA

Expected behavior

It should return IP address

Environment Summary

2.54.0

Additional context

image

Metadata

Metadata

Assignees

Labels

Azure CLI TeamThe command of the issue is owned by Azure CLI teamcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions