terraformer: gcp provider panic

2023-05-12T16:17:24.450+0800 [ERROR] plugin.terraform-provider-google_v4.63.1_x5: Response contains error diagnostic: tf_provider_addr=registry.terraform.io/hashicorp/google tf_rpc=Configure diagnostic_summary=“Value Conversion Error” @module=sdk.proto diagnostic_attribute=“” diagnostic_detail= | An unexpected error was encountered trying to build a value. This is always an error in the provider. Please report the following to the provider developer: | | Received null value, however the target type cannot handle null values. Use the corresponding types package type, a pointer type or a custom type that handles null values. | | Path: | Target Type: google.ProviderModel | Suggested types Type: basetypes.ObjectValue | Suggested Pointer Type: *google.ProviderModel diagnostic_severity=ERROR tf_proto_version=5.3 @caller=github.com/hashicorp/terraform-plugin-go@v0.14.3/tfprotov5/internal/diag/diagnostics.go:55 tf_req_id=68b642bf-87c7-acef-8c71-4b62127a5b40 timestamp=“2023-05-12T16:17:24.450+0800”

terraform version Terraform v1.4.6 on darwin_amd64

terraformer version Terraformer v0.8.22

provider version plugins/darwin_amd64/terraform-provider-google_v4.63.1_x5

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 3
  • Comments: 19

Most upvoted comments

I found that 4.59.0 is the highest “hashicorp/google” provider version that works with Terraformer as of 7/11/23.

Terraformer v0.8.24 (darwin_arm64) Terraform v1.5.2 (darwin_arm64) terraform-provider-google_v4.59.0_x5 (darwin_arm64)

I also tried with a full amd_64 stack and got the same results.

anyone else running into this, here’s a version.tf you can terraform init against:

terraform {
  required_providers {
    google = {
      source  = "hashicorp/google"
      version = "4.59.0"
    }
  }
  required_version = "= 1.5.2"
}

You can use tfswitch 1.5.2 to switch the version