core
core copied to clipboard
Error 400: Project "xxxx-xxx-xxxxxx" has no network named "default".
The following error occurred while running the ./run-install.sh $PROJECT-ID in google cloud shell.
Error: googleapi: Error 400: Project "xxxx-xxx-xxxxxx" has no network named "default".
Details:
[
{
"@type": "type.googleapis.com/google.rpc.RequestInfo",
"requestId": "0xddec4f552739326d"
}
]
, badRequest
on cluster.tf line 13, in resource "google_container_cluster" "cloud-robotics":
13: resource "google_container_cluster" "cloud-robotics" {
terraform apply failed
Looks like some GC default changed. Googling for the error lead me to: https://cloud.google.com/anthos-config-management/docs/how-to/troubleshoot-config-controller
If you run:
gcloud compute networks create default --subnet-mode=auto
and then retry, does that help?