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

panic: unknown resource type google_compute_region_instance_group #1859

Open
akamalov opened this issue Mar 31, 2024 · 2 comments
Open

panic: unknown resource type google_compute_region_instance_group #1859

akamalov opened this issue Mar 31, 2024 · 2 comments
Labels

Comments

@akamalov
Copy link

akamalov commented Mar 31, 2024

Environment:

MacOS Sonoma 14.4
Terraform v1.4.6
Terraformer v0.8.24

Issue:

When running a command:

$ terraformer import google --projects "test" --regions "us-east4" --resources="*"

...encountered an error:

panic: unknown resource type google_compute_region_instance_group

goroutine 1916 [running]:
github.com/hashicorp/terraform/plugin.(*GRPCProvider).getResourceSchema(0x140001ae900?, {0x10c4ceece, 0x24})
	github.com/hashicorp/terraform@v0.12.31/plugin/grpc_provider.go:92 +0xc8
github.com/hashicorp/terraform/plugin.(*GRPCProvider).ReadResource(0x14000ae32d0, {{0x10c4ceece, 0x24}, {{{0x10f8157c8, 0x14000844c70}}, {0x10e11adc0, 0x14002ac60c0}}, {0x115f03300, 0x0, 0x0}})
	github.com/hashicorp/terraform@v0.12.31/plugin/grpc_provider.go:321 +0xbc
github.com/GoogleCloudPlatform/terraformer/terraformutils/providerwrapper.(*ProviderWrapper).Refresh(0x14000adae70, 0x140028dfbd0, 0x140028dfb80)
	github.com/GoogleCloudPlatform/terraformer/terraformutils/providerwrapper/provider.go:171 +0x318
github.com/GoogleCloudPlatform/terraformer/terraformutils.(*Resource).Refresh(0x14002d2a240, 0x0?)
	github.com/GoogleCloudPlatform/terraformer/terraformutils/resource.go:130 +0x50
github.com/GoogleCloudPlatform/terraformer/terraformutils.RefreshResourceWorker(0x0?, 0x104b97860?, 0x14002606720?)
	github.com/GoogleCloudPlatform/terraformer/terraformutils/utils.go:153 +0xc8
created by github.com/GoogleCloudPlatform/terraformer/terraformutils.RefreshResources in goroutine 1
	github.com/GoogleCloudPlatform/terraformer/terraformutils/utils.go:80 +0xb4

@akamalov
Copy link
Author

akamalov commented Apr 3, 2024

I also tried with beta provider support, I am getting the same error. Linking previously closed ticket experiencing the same issue:

#590
#683
#1050

Copy link

github-actions bot commented Jun 3, 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 Jun 3, 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

1 participant