-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error when import using Google provider #1857
Comments
@ivanrivai-smma in another issue thread they had the same problem (me too). I fixed it by changing my versions.tf for google to 4.0.0:
|
thanks man, so it was the provider version! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when i try to run this command:
terraformer import google --projects xxx --resources=firewall --regions asia-southeast2
got this error below:
2024-03-25T13:47:02.043+0700 [ERROR] plugin.terraform-provider-google_v5.21.0_x5: Response contains error diagnostic: 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: fwmodels.ProviderModel
| Suggested
types
Type: basetypes.ObjectValue| Suggested Pointer Type: *fwmodels.ProviderModel
diagnostic_severity=ERROR diagnostic_summary="Value Conversion Error" @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:62 @module=sdk.proto tf_rpc=Configure tf_proto_version=5.4 tf_provider_addr=registry.terraform.io/hashicorp/google tf_req_id=92996a22-50d1-e6c1-8978-5a912fe07e8e timestamp="2024-03-25T13:47:02.042+0700"
i am using:
Is this a version imcompatibility, outdated go version, or any other reason?
Thank you.
The text was updated successfully, but these errors were encountered: