Skip to content

[Web Bug] - Azure Quickstart #842

Open
@timzhang926

Description

@timzhang926

After creating the crossplane-quickstart-network by following the quickstart guide, I got an error. Do you know how to fix it?

$ kubectl describe virtualnetwork.network crossplane-quickstart-network

["az": executable file not found in $PATH](exec: "az": executable file not found in $PATH)

Below is the detailed logs:

$ kubectl describe virtualnetwork.network crossplane-quickstart-network
Name:         crossplane-quickstart-network
Namespace:    
Labels:       <none>
Annotations:  crossplane.io/external-name: crossplane-quickstart-network
API Version:  network.azure.upbound.io/v1beta2
Kind:         VirtualNetwork
Metadata:
  Creation Timestamp:  2024-12-11T19:16:33Z
  Generation:          2
  Resource Version:    565105
  UID:                 3a15ad19-6296-4cbb-ad0f-27888ddc2778
Spec:
  Deletion Policy:  Delete
  For Provider:
    Address Space:
      10.0.0.0/16
    Location:             EastUS
    Resource Group Name:  tzhang-rg
  Init Provider:
  Management Policies:
    *
  Provider Config Ref:
    Name:  default
Status:
  At Provider:
  Conditions:
    Last Transition Time:  2024-12-11T19:16:33Z
    Message:               connect failed: cannot initialize the Terraform plugin SDK async external client: cannot get terraform setup: failed to configure the no-fork Azure client: failed to configure the provider: [{0 unable to build authorizer for Resource Manager API: could not configure AzureCli Authorizer: could not parse Azure CLI version: launching Azure CLI: exec: "az": executable file not found in $PATH  []}]
    Reason:                ReconcileError
    Status:                False
    Type:                  Synced
Events:
  Type     Reason                   Age                From                                                           Message
  ----     ------                   ----               ----                                                           -------
  Warning  CannotConnectToProvider  22s (x6 over 51s)  managed/network.azure.upbound.io/v1beta1, kind=virtualnetwork  cannot initialize the Terraform plugin SDK async external client: cannot get terraform setup: failed to configure the no-fork Azure client: failed to configure the provider: [{0 unable to build authorizer for Resource Manager API: could not configure AzureCli Authorizer: could not parse Azure CLI version: launching Azure CLI: exec: "az": executable file not found in $PATH  []}]

URL: https://docs.crossplane.io/latest/getting-started/provider-azure/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions