│ panic: runtime error: index out of range [0] with length 0 │
│ │
│ goroutine 76465 [running]: │
│ github.com/integrations/terraform-provider-github/v6/github.expandPagesUpdate({0x40079e1ba0?, 0x1ddf8ba?, 0xc?}) │
│ github.com/integrations/terraform-provider-github/v6@v6.3.0/github/resource_github_repository.go:938 +0x3e0 │
│ github.com/integrations/terraform-provider-github/v6/github.resourceGithubRepositoryUpdate(0x400977d980, {0x194d6a0, 0x4008ad8100}) │
│ github.com/integrations/terraform-provider-github/v6@v6.3.0/github/resource_github_repository.go:774 +0x3e4 │
│ github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).update(0x22155c0?, {0x22155c0?, 0x400e0c4e70?}, 0xd?, {0x194d6a0?, 0x4008ad8100?}) │
│ github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/resource.go:828 +0x130 │
│ github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0x400031ec40, {0x22155c0, 0x400e0c4e70}, 0x400e42cc30, 0x400bd23c80, {0x194d6a0, 0x4008ad8100}) │
│ github.com/hashicorp/terraform-plugin-sdk/v2@v2.34.0/helper/schema/resource.go:947 +0x670 │
│ github.com/crossplane/upjet/pkg/controller.(*terraformPluginSDKExternal).Update(0x400aec5dc0, {0x22155c0, 0x400e0c4e70}, {0x2238980, 0x4004eb6c08}) │
│ github.com/crossplane/upjet@v1.4.1/pkg/controller/external_tfpluginsdk.go:687 +0xe8 │
│ github.com/crossplane/upjet/pkg/controller.(*terraformPluginSDKAsyncExternal).Update.func1() │
│ github.com/crossplane/upjet@v1.4.1/pkg/controller/external_async_tfpluginsdk.go:173 +0x120 │
│ created by github.com/crossplane/upjet/pkg/controller.(*terraformPluginSDKAsyncExternal).Update in goroutine 3941 │
│ github.com/crossplane/upjet@v1.4.1/pkg/controller/external_async_tfpluginsdk.go:169 +0x120 │
│ stream closed EOF for crossplane-system/provider-upjet-github-42e598a5d0d4-6f897685d5-6s6lx (package-runtime)
Where I can read github.com/integrations/terraform-provider-github/v6 v6.3.0 but according to the Makefile we should stick to version (v6.2.2).
Due to a wrong parameter in the spec, I came across this error with v0.18.0:
Where I can read github.com/integrations/terraform-provider-github/v6 v6.3.0 but according to the Makefile we should stick to version (v6.2.2).
This version mismatch was part of the fixes addressed here #148 but the PR has been waiting there for long time now :/