You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
azuredevops_serviceendpoint_kubernetes.se_kubeconfig: Importing from ID "<PROJECT_ID>/<SERVICE_ID>"...
azuredevops_serviceendpoint_kubernetes.se_kubeconfig: Import prepared!
Prepared azuredevops_serviceendpoint_kubernetes for import
azuredevops_serviceendpoint_kubernetes.se_kubeconfig: Refreshing state... [id=<SERVICE_ID>]
╷
│ Error: Plugin did not respond
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
╵
Stack trace from the terraform-provider-azuredevops_v0.1.5 plugin:
panic: runtime error: index out of range [0] with length 0
goroutine 45 [running]:
github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/serviceendpoint.flattenServiceEndpointKubernetes(0xc0003da000, 0xc000602580, 0xc000608120)
github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/serviceendpoint/resource_serviceendpoint_kubernetes.go:302 +0x16fa
github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/serviceendpoint.genServiceEndpointReadFunc.func1(0xc0003da000, 0xfbf8a0, 0xc0002f8a00, 0xc0003da000, 0x0)
github.com/microsoft/terraform-provider-azuredevops/azuredevops/internal/service/serviceendpoint/commons.go:207 +0x278
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0006a3680, 0xc000668d70, 0xfbf8a0, 0xc0002f8a00, 0xc00038a028, 0x0, 0x0)
github.com/hashicorp/[email protected]/helper/schema/resource.go:470 +0x12e
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc00011a930, 0x13aee30, 0xc000161500, 0xc0001a0de0, 0xc00011a930, 0xc000161500, 0xc0005b3ba0)
github.com/hashicorp/[email protected]/internal/helper/plugin/grpc_provider.go:535 +0x3dd
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x116c240, 0xc00011a930, 0x13aee30, 0xc000161500, 0xc0001a0ba0, 0x0, 0x13aee30, 0xc000161500, 0xc0003045a0, 0x1cf)
github.com/hashicorp/[email protected]/internal/tfplugin5/tfplugin5.pb.go:3269 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00017a1c0, 0x13bcb18, 0xc000103b00, 0xc000308000, 0xc0006c7350, 0x1996190, 0x0, 0x0, 0x0)
google.golang.org/[email protected]/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc00017a1c0, 0x13bcb18, 0xc000103b00, 0xc000308000, 0x0)
google.golang.org/[email protected]/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00054c8d0, 0xc00017a1c0, 0x13bcb18, 0xc000103b00, 0xc000308000)
google.golang.org/[email protected]/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/[email protected]/server.go:857 +0x1fd
Error: The terraform-provider-azuredevops_v0.1.5 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Expected Behavior
Import azuredevops_serviceendpoint_kubernetes.se_kubeconfig into terraform state.
Community Note
Terraform (and Azure DevOps Provider) Version
Affected Resource(s)
azuredevops_serviceendpoint_kubernetes.se_kubeconfig:
Terraform Configuration Files
Debug Output
Panic Output
Expected Behavior
Import azuredevops_serviceendpoint_kubernetes.se_kubeconfig into terraform state.
Actual Behavior
Terraform failed to import the resource.
Steps to Reproduce
tf import 'azuredevops_serviceendpoint_kubernetes.se_kubeconfig' '<PROJECT_ID>/<SERVICE_ID>'
Important Factoids
I also tried the Project ID but that failed as well.
References
The text was updated successfully, but these errors were encountered: