-
Notifications
You must be signed in to change notification settings - Fork 592
Open
Description
there is a bug when I want to get the fc_custom domain data in alicloud 1.262.1
provider "alicloud" {
region = var.region
profile = "serveless"
}
data "alicloud_fc_custom_domains" "existing" {
name_regex = var.custom_domain_name
}
output "first_fc_custom_domain_name" {
value = data.alicloud_fc_custom_domains.existing
}
🔢 bug :
data.alicloud_fc_custom_domains.existing: Reading...
Planning failed. Terraform encountered an error while generating this plan.
╷
│ Error: Plugin did not respond
│
│ with data.alicloud_fc_custom_domains.existing,
│ on terraform_fc.tf line 30, in data "alicloud_fc_custom_domains" "existing":
│ 30: data "alicloud_fc_custom_domains" "existing" {
│
│ 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-alicloud_v1.262.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5fe6a87]
goroutine 23 [running]:
github.com/aliyun/terraform-provider-alicloud/alicloud.dataSourceAlicloudFcCustomDomainsRead(0xc0008144d0, {0x97cb600?, 0xc00087f208})
github.com/aliyun/terraform-provider-alicloud/alicloud/data_source_alicloud_fc_custom_domains.go:178 +0x12e7
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).ReadDataApply(0xc000511e00, 0xc002130580, {0x97cb600, 0xc00087f208})
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/helper/schema/resource.go:413 +0xb3
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).ReadDataApply(0xc001faca00, 0xc00213b920, 0xc002130580)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/helper/schema/provider.go:451 +0x5e
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadDataSource(0xc001fb0610, {0x8ff11a0?, 0xc0021069a8?}, 0xc002124240)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/helper/plugin/grpc_provider.go:1046 +0x2a5
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadDataSource_Handler({0x8ff11a0, 0xc001fb0610}, {0xa6cb780, 0xc0021235f0}, 0xc003412400, 0x0)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/tfplugin5/tfplugin5.pb.go:3341 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0004f4000, {0xa6cb780, 0xc002123560}, {0xa7236a0, 0xc001922000}, 0xc00013fe60, 0xc00176eb10, 0x11c8ff10, 0x0)
google.golang.org/grpc@v1.62.1/server.go:1386 +0xde3
google.golang.org/grpc.(*Server).handleStream(0xc0004f4000, {0xa7236a0, 0xc001922000}, 0xc00013fe60)
google.golang.org/grpc@v1.62.1/server.go:1797 +0xe77
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.62.1/server.go:1027 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 42
google.golang.org/grpc@v1.62.1/server.go:1038 +0x11d
Error: The terraform-provider-alicloud_v1.262.1 plugin crashed!
Metadata
Metadata
Assignees
Labels
No labels