Hi everyone,
i currently prepare a deployment script to create the app registration and service principal registration for a AKS in Azure. I submitted sleep commands:
resource “null_resource” “delay_before_consent” {
provisioner “local-exec” {
command = “sleep 60”
}
depends_on = [
azuread_service_principal.AKS-PE-ServicePrincipal,
azuread_service_principal.AKS-PE-CLIENT
]
}
But i get this Error:
Error: Error running command ‘sleep 60’: exit status 1. Output: ‘sleep’ is not recognized as an internal or external command,
operable program or batch file.
Can somebody tell me what is the Problem?
Thanks & Kind regards, Peter