Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Web Bug] - Azure Quickstart #842

Open
timzhang926 opened this issue Dec 11, 2024 · 0 comments
Open

[Web Bug] - Azure Quickstart #842

timzhang926 opened this issue Dec 11, 2024 · 0 comments

Comments

@timzhang926
Copy link

timzhang926 commented Dec 11, 2024

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant