Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Plugin did not respond
│
│ with data.mso_tenant.tenant,
│ on data_sources.tf line 11, in data "mso_tenant" "tenant":
│ 11: data "mso_tenant" "tenant" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadDataSource call. The plugin logs may contain more
│ details.
╵
Stack trace from the terraform-provider-mso plugin:
panic: runtime error: index out of range [2] with length 1
goroutine 84 [running]:
github.com/terraform-providers/terraform-provider-mso/mso.datasourceMSOTenantRead(0xc0005c8150, {0x1b5ee00, 0xc0009142d0})
/Users/marinfer/Desktop/Public Speaking/AWS Re-Invent/terraform-provider-mso/mso/datasource_mso_tenant.go:195 +0xe69
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).ReadDataApply(0xc0000d4b40, 0xc0000a5950, {0x1b5ee00, 0xc0009142d0})
/Users/marinfer/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.17.1/helper/schema/resource.go:413 +0x66
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).ReadDataApply(0xc00019cf00, 0xc0005cfb28, 0x1a68960)
/Users/marinfer/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.17.1/helper/schema/provider.go:451 +0x65
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadDataSource(0xc000125308, {0xc00030c000, 0x10b1b26}, 0xc00030c000)
/Users/marinfer/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.17.1/internal/helper/plugin/grpc_provider.go:1046 +0x2da
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadDataSource_Handler({0x1b3c2c0, 0xc000125308}, {0x1d6c650, 0xc00063e8a0}, 0xc000402120, 0x0)
/Users/marinfer/go/pkg/mod/github.com/hashicorp/terraform-plugin-sdk@v1.17.1/internal/tfplugin5/tfplugin5.pb.go:3341 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000386380, {0x1d7d1f8, 0xc00019ac00}, 0xc000314200, 0xc000389350, 0x23dae30, 0x0)
/Users/marinfer/go/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc000386380, {0x1d7d1f8, 0xc00019ac00}, 0xc000314200, 0x0)
/Users/marinfer/go/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:1517 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
/Users/marinfer/go/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
/Users/marinfer/go/pkg/mod/google.golang.org/grpc@v1.32.0/server.go:857 +0x294
Error: The terraform-provider-mso 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.
Description