Created
May 25, 2022 18:04
-
-
Save jwtracy/774261188c54fdefee09649674ccabbf to your computer and use it in GitHub Desktop.
GKE and ASM Terraform failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Stopping operation... | |
╷ | |
│ Error: timeout while waiting for plugin to start | |
│ | |
│ | |
╵ | |
╷ | |
│ Error: Plugin did not respond | |
│ | |
│ with module.platform_eng_environments.module.plato_admin_instance.module.gke.module.gcloud_delete_default_kube_dns_configmap.module.gcloud_kubectl.null_resource.module_depends_on[0], | |
│ on .terraform/modules/platform_eng_environments.plato_admin_instance.gke.gcloud_delete_default_kube_dns_configmap/main.tf line 62, in resource "null_resource" "module_depends_on": | |
│ 62: resource "null_resource" "module_depends_on" { | |
│ | |
│ The plugin encountered an error, and failed to respond to the | |
│ plugin.(*GRPCProvider).ValidateResourceConfig call. The plugin logs may | |
│ contain more details. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_admin_instance.module.firewall_rules.google_compute_firewall.rules["deny-gke-egress"], | |
│ on .terraform/modules/platform_eng_environments.plato_admin_instance.firewall_rules/modules/firewall-rules/main.tf line 17, in resource "google_compute_firewall" "rules": | |
│ 17: resource "google_compute_firewall" "rules" { | |
│ | |
│ The plugin.(*GRPCProvider).PlanResourceChange request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_admin_instance.module.firewall_rules.google_compute_firewall.rules["default-deny-egress"], | |
│ on .terraform/modules/platform_eng_environments.plato_admin_instance.firewall_rules/modules/firewall-rules/main.tf line 17, in resource "google_compute_firewall" "rules": | |
│ 17: resource "google_compute_firewall" "rules" { | |
│ | |
│ The plugin.(*GRPCProvider).PlanResourceChange request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_admin_instance.module.firewall_rules.google_compute_firewall.rules["allow-gke-egress"], | |
│ on .terraform/modules/platform_eng_environments.plato_admin_instance.firewall_rules/modules/firewall-rules/main.tf line 17, in resource "google_compute_firewall" "rules": | |
│ 17: resource "google_compute_firewall" "rules" { | |
│ | |
│ The plugin.(*GRPCProvider).PlanResourceChange request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_admin_instance.module.firewall_rules.google_compute_firewall.rules["allow-ipv4-egress"], | |
│ on .terraform/modules/platform_eng_environments.plato_admin_instance.firewall_rules/modules/firewall-rules/main.tf line 17, in resource "google_compute_firewall" "rules": | |
│ 17: resource "google_compute_firewall" "rules" { | |
│ | |
│ The plugin.(*GRPCProvider).PlanResourceChange request was cancelled. | |
╵ | |
╷ | |
│ Error: Invalid for_each argument | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_admin_project/modules/project/main.tf line 137, in resource "google_project_iam_binding" "authoritative": | |
│ 137: for_each = local.iam | |
│ ├──────────────── | |
│ │ local.iam will be known only after apply | |
│ | |
│ The "for_each" value depends on resource attributes that cannot be | |
│ determined until apply, so Terraform cannot predict how many instances will | |
│ be created. To work around this, use the -target argument to first apply | |
│ only the resources that the for_each depends on. | |
╵ | |
╷ | |
│ Error: Invalid template interpolation value | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_dev_instance.asm/modules/asm/hub.tf line 21, in resource "google_gke_hub_membership" "membership": | |
│ 21: membership_id = "${data.google_container_cluster.asm.name}-membership" | |
│ ├──────────────── | |
│ │ data.google_container_cluster.asm.name is null | |
│ | |
│ The expression result is null. Cannot include a null value in a string | |
│ template. | |
╵ | |
╷ | |
│ Error: Invalid template interpolation value | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_dev_instance.asm/modules/asm/hub.tf line 24, in resource "google_gke_hub_membership" "membership": | |
│ 24: resource_link = "//container.googleapis.com/${data.google_container_cluster.asm.id}" | |
│ ├──────────────── | |
│ │ data.google_container_cluster.asm.id is null | |
│ | |
│ The expression result is null. Cannot include a null value in a string | |
│ template. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_dev_instance.provider["registry.terraform.io/hashicorp/kubernetes"], | |
│ on .terraform/modules/platform_eng_environments.plato_dev_instance/modules/plato/gke.tf line 69, in provider "kubernetes": | |
│ 69: provider "kubernetes" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateProviderConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Invalid template interpolation value | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_prod_instance.asm/modules/asm/hub.tf line 21, in resource "google_gke_hub_membership" "membership": | |
│ 21: membership_id = "${data.google_container_cluster.asm.name}-membership" | |
│ ├──────────────── | |
│ │ data.google_container_cluster.asm.name is null | |
│ | |
│ The expression result is null. Cannot include a null value in a string | |
│ template. | |
╵ | |
╷ | |
│ Error: Invalid template interpolation value | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_prod_instance.asm/modules/asm/hub.tf line 24, in resource "google_gke_hub_membership" "membership": | |
│ 24: resource_link = "//container.googleapis.com/${data.google_container_cluster.asm.id}" | |
│ ├──────────────── | |
│ │ data.google_container_cluster.asm.id is null | |
│ | |
│ The expression result is null. Cannot include a null value in a string | |
│ template. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.app_service_account["release-rotator"].google_service_account_iam_member.main, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.app_service_account/modules/workload-identity/main.tf line 75, in resource "google_service_account_iam_member" "main": | |
│ 75: resource "google_service_account_iam_member" "main" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateResourceConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.app_service_account["prometheus-metrics"].google_service_account_iam_member.main, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.app_service_account/modules/workload-identity/main.tf line 75, in resource "google_service_account_iam_member" "main": | |
│ 75: resource "google_service_account_iam_member" "main" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateResourceConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.app_service_account["apiserver"].google_service_account_iam_member.main, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.app_service_account/modules/workload-identity/main.tf line 75, in resource "google_service_account_iam_member" "main": | |
│ 75: resource "google_service_account_iam_member" "main" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateResourceConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.app_service_account["generic-controller"].google_service_account_iam_member.main, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.app_service_account/modules/workload-identity/main.tf line 75, in resource "google_service_account_iam_member" "main": | |
│ 75: resource "google_service_account_iam_member" "main" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateResourceConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.app_service_account["external-secrets"].google_service_account_iam_member.main, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.app_service_account/modules/workload-identity/main.tf line 75, in resource "google_service_account_iam_member" "main": | |
│ 75: resource "google_service_account_iam_member" "main" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateResourceConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.app_service_account["k8s-controller"].google_service_account_iam_member.main, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.app_service_account/modules/workload-identity/main.tf line 75, in resource "google_service_account_iam_member" "main": | |
│ 75: resource "google_service_account_iam_member" "main" { | |
│ | |
│ The plugin.(*GRPCProvider).ValidateResourceConfig request was cancelled. | |
╵ | |
╷ | |
│ Error: Invalid template interpolation value | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.asm/modules/asm/hub.tf line 21, in resource "google_gke_hub_membership" "membership": | |
│ 21: membership_id = "${data.google_container_cluster.asm.name}-membership" | |
│ ├──────────────── | |
│ │ data.google_container_cluster.asm.name is null | |
│ | |
│ The expression result is null. Cannot include a null value in a string | |
│ template. | |
╵ | |
╷ | |
│ Error: Invalid template interpolation value | |
│ | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.asm/modules/asm/hub.tf line 24, in resource "google_gke_hub_membership" "membership": | |
│ 24: resource_link = "//container.googleapis.com/${data.google_container_cluster.asm.id}" | |
│ ├──────────────── | |
│ │ data.google_container_cluster.asm.id is null | |
│ | |
│ The expression result is null. Cannot include a null value in a string | |
│ template. | |
╵ | |
╷ | |
│ Error: Request cancelled | |
│ | |
│ with module.platform_eng_environments.module.plato_staging_instance.module.asm.kubernetes_namespace.system, | |
│ on .terraform/modules/platform_eng_environments.plato_staging_instance.asm/modules/asm/main.tf line 34, in resource "kubernetes_namespace" "system": | |
│ 34: resource "kubernetes_namespace" "system" { | |
│ | |
│ The plugin.(*GRPCProvider).PlanResourceChange request was cancelled. | |
╵ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment