Skip to content

Instantly share code, notes, and snippets.

@bourdeau
Created December 15, 2023 05:37
Show Gist options
  • Save bourdeau/22ed5d5a28b36d760632777e86a15f36 to your computer and use it in GitHub Desktop.
Save bourdeau/22ed5d5a28b36d760632777e86a15f36 to your computer and use it in GitHub Desktop.
❯ terraform plan
module.staysail.random_password.polaris_secret_key: Refreshing state... [id=none]
module.staysail.random_password.database_password: Refreshing state... [id=none]
module.staysail.module.gce-lb-http.google_compute_global_address.default_ipv6[0]: Refreshing state... [id=projects/staysail/global/addresses/stay-sail-lb-preprod-ipv6-address]
module.staysail.module.gce-lb-http.google_compute_managed_ssl_certificate.default[0]: Refreshing state... [id=projects/staysail/global/sslCertificates/stay-sail-lb-preprod-cert]
module.staysail.module.gce-lb-http.google_compute_global_address.default[0]: Refreshing state... [id=projects/staysail/global/addresses/stay-sail-lb-preprod-address]
module.staysail.data.google_compute_default_service_account.default: Reading...
module.staysail.google_project_iam_member.trace_user: Refreshing state... [id=staysail/roles/cloudtrace.user/serviceAccount:polaris-preprod@staysail.iam.gserviceaccount.com]
module.staysail.google_service_account.polaris: Refreshing state... [id=projects/staysail/serviceAccounts/polaris-preprod@staysail.iam.gserviceaccount.com]
module.staysail.google_secret_manager_secret.polaris_settings: Refreshing state... [id=projects/staysail/secrets/polaris_settings-preprod]
module.staysail.google_storage_bucket.medias: Refreshing state... [id=staysail-medias-preprod]
module.staysail.data.google_project.project: Reading...
module.staysail.module.gce-lb-http.google_compute_url_map.https_redirect[0]: Refreshing state... [id=projects/staysail/global/urlMaps/stay-sail-lb-preprod-https-redirect]
module.staysail.google_sql_database_instance.instance: Refreshing state... [id=polaris-preprod]

Planning failed. Terraform encountered an error while generating this plan.

╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.google_storage_bucket.medias,
│   on ../../modules/staysail/bucket.tf line 1, in resource "google_storage_bucket" "medias":
│    1: resource "google_storage_bucket" "medias" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.google_sql_database_instance.instance,
│   on ../../modules/staysail/database.tf line 2, in resource "google_sql_database_instance" "instance":
│    2: resource "google_sql_database_instance" "instance" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.data.google_project.project,
│   on ../../modules/staysail/main.tf line 6, in data "google_project" "project":
│    6: data "google_project" "project" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.google_secret_manager_secret.polaris_settings,
│   on ../../modules/staysail/secrets.tf line 7, in resource "google_secret_manager_secret" "polaris_settings":
│    7: resource "google_secret_manager_secret" "polaris_settings" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.data.google_compute_default_service_account.default,
│   on ../../modules/staysail/service_account.tf line 3, in data "google_compute_default_service_account" "default":
│    3: data "google_compute_default_service_account" "default" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.google_service_account.polaris,
│   on ../../modules/staysail/service_account.tf line 7, in resource "google_service_account" "polaris":
│    7: resource "google_service_account" "polaris" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.module.gce-lb-http.google_compute_global_address.default[0],
│   on .terraform/modules/staysail.gce-lb-http/modules/serverless_negs/main.tf line 57, in resource "google_compute_global_address" "default":
│   57: resource "google_compute_global_address" "default" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.module.gce-lb-http.google_compute_global_address.default_ipv6[0],
│   on .terraform/modules/staysail.gce-lb-http/modules/serverless_negs/main.tf line 94, in resource "google_compute_global_address" "default_ipv6":
│   94: resource "google_compute_global_address" "default_ipv6" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.module.gce-lb-http.google_compute_managed_ssl_certificate.default[0],
│   on .terraform/modules/staysail.gce-lb-http/modules/serverless_negs/main.tf line 147, in resource "google_compute_managed_ssl_certificate" "default":
│  147: resource "google_compute_managed_ssl_certificate" "default" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
╷
│ Error: Plugin did not respond
│
│   with module.staysail.module.gce-lb-http.google_compute_url_map.https_redirect[0],
│   on .terraform/modules/staysail.gce-lb-http/modules/serverless_negs/main.tf line 170, in resource "google_compute_url_map" "https_redirect":
│  170: resource "google_compute_url_map" "https_redirect" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵

Stack trace from the terraform-provider-google-beta_v5.9.0_x5 plugin:

panic: Error reading level state: strconv.ParseInt: parsing "8580780465065941099": value out of range

goroutine 67 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).get(0xf230780, {0xf22cbf8, 0x1, 0x1}, 0x8)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/resource_data.go:553 +0x279
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).State(0xf230780)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/resource_data.go:351 +0x3a7
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ShimInstanceStateFromValue(0xf507ea0, {{{0xbe86a34, 0xf22c718}}, {0xb201c80, 0xf484a60}})
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/resource.go:599 +0x1d9
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xf7b4c50, {0xbe86294, 0xfdde4e0}, 0xf4843a0)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/grpc_provider.go:587 +0x23f
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ReadResource({0xf7a2000, 0xf7a2040, {0xf90f030, 0x2, 0x2}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...)
	github.com/hashicorp/terraform-plugin-mux@v0.8.0/tf5muxserver/mux_server_ReadResource.go:26 +0x151
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xfb14320, {0xbe86294, 0xfdde120}, 0xf9ecbd0)
	github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:748 +0x4c5
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0xb730d80, 0xfb14320}, {0xbe86294, 0xfdde120}, 0xf234080, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:349 +0x18a
google.golang.org/grpc.(*Server).processUnaryRPC(0xeceea00, {0xbe86294, 0xfdde0a8}, {0xbe8b124, 0xfbe8480}, 0xf2321e0, 0xfaca678, 0xd8a66e8, 0x0)
	google.golang.org/grpc@v1.59.0/server.go:1343 +0xf68
google.golang.org/grpc.(*Server).handleStream(0xeceea00, {0xbe8b124, 0xfbe8480}, 0xf2321e0)
	google.golang.org/grpc@v1.59.0/server.go:1737 +0xd03
google.golang.org/grpc.(*Server).serveStreams.func1.1()
	google.golang.org/grpc@v1.59.0/server.go:986 +0xa7
created by google.golang.org/grpc.(*Server).serveStreams.func1
	google.golang.org/grpc@v1.59.0/server.go:997 +0x16b

Error: The terraform-provider-google-beta_v5.9.0_x5 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.


Stack trace from the terraform-provider-google_v5.9.0_x5 plugin:

panic: Error reading level state: strconv.ParseInt: parsing "8756178786176587903": value out of range

goroutine 325 [running]:
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).get(0xf57d090, {0xf1c0f88, 0x1, 0x1}, 0x8)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/resource_data.go:553 +0x279
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).State(0xf57d090)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/resource_data.go:351 +0x3a7
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).ShimInstanceStateFromValue(0xea06540, {{{0xbae9070, 0xf1c0878}}, {0xaf0e5c0, 0xefad140}})
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/resource.go:599 +0x1d9
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xef42e10, {0xbae88d0, 0xf7265a0}, 0xef73620)
	github.com/hashicorp/terraform-plugin-sdk/v2@v2.24.0/helper/schema/grpc_provider.go:587 +0x23f
github.com/hashicorp/terraform-plugin-mux/tf5muxserver.muxServer.ReadResource({0xef1a1e0, 0xef1a220, {0xf30aeb0, 0x2, 0x2}, {0x0, 0x0, 0x0}, {0x0, 0x0, ...}, ...}, ...)
	github.com/hashicorp/terraform-plugin-mux@v0.8.0/tf5muxserver/mux_server_ReadResource.go:26 +0x151
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xf28db30, {0xbae88d0, 0xf726228}, 0xf041590)
	github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/tf5server/server.go:748 +0x4c5
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0xb40c500, 0xf28db30}, {0xbae88d0, 0xf726228}, 0xe876080, 0x0)
	github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:349 +0x18a
google.golang.org/grpc.(*Server).processUnaryRPC(0xe5297c0, {0xbae88d0, 0xf7261e0}, {0xbaed3b0, 0xe9fc000}, 0xf724960, 0xf3caa98, 0xd395d08, 0x0)
	google.golang.org/grpc@v1.59.0/server.go:1343 +0xf68
google.golang.org/grpc.(*Server).handleStream(0xe5297c0, {0xbaed3b0, 0xe9fc000}, 0xf724960)
	google.golang.org/grpc@v1.59.0/server.go:1737 +0xd03
google.golang.org/grpc.(*Server).serveStreams.func1.1()
	google.golang.org/grpc@v1.59.0/server.go:986 +0xa7
created by google.golang.org/grpc.(*Server).serveStreams.func1
	google.golang.org/grpc@v1.59.0/server.go:997 +0x16b

Error: The terraform-provider-google_v5.9.0_x5 plugin crashed!

This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment