Terrafom new-aksHci

hello i try to execute this resource “null_resource” “test_terraform” {
provisioner “local-exec” {
command = “New-AksHciCluster -name {var.cluster_name} -nodePoolName {var.nodepool_name} -nodeCount {var.node_count} -osType {var.os_type} && Connect-AzAccount && Enable-AksHciArcConnection -name ${var.cluster_name}”
}
} i got this error │ Error running command ‘New-AksHciCluster -name test-terraform -nodePoolName node1 -nodeCount 1 -osType Linux && Connect-AzAccount &&
│ Enable-AksHciArcConnection -name test-terraform’: exit status 1. Output: ‘New-AksHciCluster’ n’est pas reconnu en tant que commande interne
│ ou externe, un programme exécutable ou un fichier de commandes.
N.B: in my powershell commande New-AksHciCluster work