Every day during the last 5 week I get the following error when module.gke_cluster.google_container_cluster tries to create the gke cluster.
Error: Error: googleapi: Error 404: Generic::not_found: Not found; Gaia id not found for email XXXXXX-compute@developer.gserviceaccount.com., notFound
│
│ with module.gke_cluster.google_container_cluster.primary,
│ on modules/gke_cluster/main.tf line 2, in resource “google_container_cluster” “primary”:
│ 2: resource “google_container_cluster” “primary” {
Notes: This XXXXXX-compute@developer.gserviceaccount.com service account was the default service account and was deleted by mistake about two years ago.
It was replaced with another service account as the default service account, but Terraform keeps using it for a certain action.
For the node pools I could enter a customized service account, but no such an option for the GKE cluster (master) itself.
It should be noted I started to see these errors few week ago after about two years.
Usually when retrying, it does NOT happen and the cluster is created.
{
“error”: {
“code”: 404,
“message”: “Generic::not_found: Not found; Gaia id not found for email XXXX-compute@developer.gserviceaccount.com.”,
“errors”: [
{
“message”: “Generic::not_found: Not found; Gaia id not found for email XXXX-compute@developer.gserviceaccount.com.”,
“domain”: “global”,
“reason”: “notFound”
}
],
“status”: “NOT_FOUND”
}
}