-
Notifications
You must be signed in to change notification settings - Fork 144
Description
Terraform Version
1.82.42
Affected Resource(s)
resource tencentcloud_cfw_nat_policy
Terraform Configuration Files
direction = 1
enable = "true"
port = "80,443"
protocol = "TCP"
rule_action = "accept"
source_content = "0.0.0.0/0"
source_type = "net"
target_content = "0.0.0.0/0"
target_type = "net"
description = "Allow HTTP from all network"
scope = "ALL"Panic Output
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x10865bd80]
goroutine 57 [running]:
github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/cfw.resourceTencentCloudCfwNatPolicyCreate.func1()
github.com/tencentcloudstack/terraform-provider-tencentcloud/tencentcloud/services/cfw/resource_tc_cfw_nat_policy.go:176 +0x1b0
github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.RetryContext.func1()
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/resource/wait.go:27 +0x4c
github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext.func1()
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/resource/state.go:110 +0x174
created by github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource.(*StateChangeConf).WaitForStateContext
github.com/hashicorp/terraform-plugin-sdk/v2@v2.20.0/helper/resource/state.go:83 +0x1a8
Error: The terraform-provider-tencentcloud_v1.82.42 plugin crashed!