terraform-google-kubernetes-engine
terraform-google-kubernetes-engine copied to clipboard
Error: local-exec provisioner error - ASM Module
Source Code source = "terraform-google-modules/kubernetes-engine/google//modules/asm" version = "22.0.0"
Error: local-exec provisioner error
│
│ with module.asm.module.asm.module.cpr.module.gcloud_kubectl.null_resource.run_command[0],
│ on .terraform/modules/asm.asm.cpr/main.tf line 231, in resource "null_resource" "run_command":
│ 231: provisioner "local-exec" {
│
│ Error running command 'PATH=/google-cloud-sdk/bin:$PATH
│ .terraform/modules/asm.asm.cpr/modules/kubectl-wrapper/scripts/kubectl_wrapper.sh
│ false false .terraform/modules/asm.asm/modules/asm/scripts/create_cpr.sh
│ asm-managed regular true false
│ ': exit status 1. Output: + '[' 10 -lt 5 ']'
│ + CLUSTER_NAME=gke-cluster-01
│ + LOCATION=
Looks like the account/service account you run the script does not have enough IAM permissions to execute the script.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days