-
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
panic: unknown resource type google_compute_region_instance_group (dup #683) #1050
Comments
I'm running into the same problem:
|
any solutions yet? |
We're working around it by excluding the resource type, adding the "--excludes=regionInstanceGroups" argument to the command line every invocation. That's not a fix, but a workaround. If you need regionInstanceGroups then the underlying issue needs resolution. |
Also having the same issue. I poked around in this repo and in the google provider repo, but I couldn't really make heads or tails of where the issue might be. Given the logging output from terraformer, it seems like listing the resource and getting data from google all works as expected.
Given that last log line, it looks like something may be failing when writing/refreshing the tfstate? |
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. |
This issue was closed because it has been stalled for 7 days with no activity. |
Do we have any solution for this? @georgewilliamherbert I am stuck with this issue can someone help with a solution? @wesdunn @ronenh @tsm2k |
Greetings. This is becoming a hindrance. We're using region instance groups and cannot skip it because it is part of the deployment. #1859 |
This duplicates / reopens #683 which is closed and I can't reopen, but issue is still present on 0.8.15 at least.
Reopening as this is still happening with 0.8.15. Running from my Mac against GCP projects now seeing:
2021/09/14 12:56:49 Refreshing state... google_compute_region_instance_group.tfer--europe-002D-west4-002D-puppetmaster
panic: unknown resource type google_compute_region_instance_group
goroutine 32644 [running]:
github.com/hashicorp/terraform/plugin.(*GRPCProvider).getResourceSchema(0xc00087e1c0, 0xa9a0383, 0x24, 0x0, 0x0)
github.com/hashicorp/[email protected]/plugin/grpc_provider.go:92 +0x12a
github.com/hashicorp/terraform/plugin.(*GRPCProvider).ReadResource(0xc00087e1c0, 0xa9a0383, 0x24, 0xb6e2318, 0xc00192b9f0, 0x985cbe0, 0xc0036383c0, 0x104e88b0, 0x0, 0x0, ...)
github.com/hashicorp/[email protected]/plugin/grpc_provider.go:321 +0xa5
github.com/GoogleCloudPlatform/terraformer/terraformutils/providerwrapper.(*ProviderWrapper).Refresh(0xc0001d7110, 0xc00020e320, 0xc00020e0a0, 0x2, 0xc00662c770, 0x63)
github.com/GoogleCloudPlatform/terraformer/terraformutils/providerwrapper/provider.go:171 +0x305
github.com/GoogleCloudPlatform/terraformer/terraformutils.(*Resource).Refresh(0xc0051b7950, 0xc0001d7110)
github.com/GoogleCloudPlatform/terraformer/terraformutils/resource.go:130 +0x4f
github.com/GoogleCloudPlatform/terraformer/terraformutils.RefreshResourceWorker(0xc0026e2720, 0xc005145f90, 0xc0001d7110)
github.com/GoogleCloudPlatform/terraformer/terraformutils/utils.go:153 +0xcd
created by github.com/GoogleCloudPlatform/terraformer/terraformutils.RefreshResources
github.com/GoogleCloudPlatform/terraformer/terraformutils/utils.go:80 +0x145
$ terraform version
Terraform v1.0.4
on darwin_amd64
Your version of Terraform is out of date! The latest version
is 1.0.6. You can update by downloading from https://www.terraform.io/downloads.html
$ terraformer version
Terraformer v0.8.15
The text was updated successfully, but these errors were encountered: