Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gcp provider panic #1703

Closed
janet23333 opened this issue May 12, 2023 · 19 comments
Closed

gcp provider panic #1703

janet23333 opened this issue May 12, 2023 · 19 comments
Labels

Comments

@janet23333
Copy link

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/[email protected]/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

@arod0719
Copy link

Did you solve this? Running into the same issue

@880831ian
Copy link

I also have the same problem

@rober15
Copy link

rober15 commented May 16, 2023

Me too. :-(

@rrequero
Copy link

Me too

@fairglen
Copy link

fairglen commented Jun 7, 2023

+1

@fhmlsml
Copy link

fhmlsml commented Jun 14, 2023

me too, I also have the same problem

@nburns
Copy link

nburns commented Jun 16, 2023

Hitting the same issue

downgrading the provider worked for me: #1692 (comment)

@gmuench-cog
Copy link

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.

@janet23333
Copy link
Author

janet23333 commented Jul 12, 2023 via email

@brianmaresca
Copy link

brianmaresca commented Jul 21, 2023

thank you @gmuench-cog 🥇 💯 👍 !

FWIW, the same error is referenced in these issues:
#1728
#1692
#1695
#1698

@nl-devonainsworth
Copy link

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.

This worked for me as well.

@jralmaraz
Copy link

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.

Thanks ! That made the issue go away!

I still get 0 number of resources imported, but I think I need to troubleshoot more on why...

Cheers!

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added Stale and removed Stale labels Oct 22, 2023
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jan 14, 2024
@nburns
Copy link

nburns commented Jan 16, 2024

still applies

@github-actions github-actions bot removed the Stale label Jan 17, 2024
@teadur
Copy link

teadur commented Feb 1, 2024

indeed :(

@bt-nia
Copy link

bt-nia commented Feb 5, 2024

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

Copy link

github-actions bot commented Apr 8, 2024

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Apr 8, 2024
Copy link

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests