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
Describe the bug
Importing citrixadc_systemfile fails with error:
citrixadc_systemfile.sshd_config: Import prepared!
Prepared citrixadc_systemfile for import
citrixadc_systemfile.sshd_config: Refreshing state... [id=/etc/sshd_config]
╷
│ Error: Request cancelled
│
│ The plugin.(*GRPCProvider).ReadResource request was cancelled.
╵
Stack trace from the terraform-provider-citrixadc_v1.37.0 plugin:
panic: interface conversion: interface {} is nil, not string
goroutine 115 [running]:
github.com/citrix/terraform-provider-citrixadc/citrixadc.readSystemfileFunc(0xc000c06930, {0x14539c0?, 0xc000ea44c0})
github.com/citrix/terraform-provider-citrixadc/citrixadc/resource_citrixadc_systemfile.go:134 +0x550
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0005dbd60, 0xc000c0caa0, {0x14539c0, 0xc000ea44c0})
github.com/hashicorp/terraform-plugin-sdk@v1.[17](https://github.com/ravager-dk/Terraform-ADC-demo/actions/runs/7754063917/job/21146642551#step:4:18).2/helper/schema/resource.go:470 +0x1aa
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc0005dd230, {0xc000578[18](https://github.com/ravager-dk/Terraform-ADC-demo/actions/runs/7754063917/job/21146642551#step:4:19)0?, 0x5beae6?}, 0xc000578180)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/helper/plugin/grpc_provider.go:535 +0x365
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler({0x1629c80?, 0xc0005dd230}, {0x1b090c0, 0xc000c00d20}, 0xc000c06460, 0x0)
github.com/hashicorp/terraform-plugin-sdk@v1.17.2/internal/tfplugin5/tfplugin5.pb.go:3269 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000a66000, {0x1b0dfe0, 0xc000842000}, 0xc000d01320, 0xc000a64a80, 0x23d[19](https://github.com/ravager-dk/Terraform-ADC-demo/actions/runs/7754063917/job/21146642551#step:4:20)50, 0x0)
google.golang.org/grpc@v1.52.0/server.go:1336 +0xd33
google.golang.org/grpc.(*Server).handleStream(0xc000a66000, {0x1b0dfe0, 0xc00084[20](https://github.com/ravager-dk/Terraform-ADC-demo/actions/runs/7754063917/job/21146642551#step:4:21)00}, 0xc000d01320, 0x0)
google.golang.org/grpc@v1.52.0/server.go:1704 +0xa36
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.52.0/server.go:965 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.52.0/server.go:963 +0x28a
Error: The terraform-provider-citrixadc_v1.[37] 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.
Terraform output logs to the log file (./tf.log). Append TF_LOG=TRACE NS_LOG=TRACE TF_LOG_PATH=./tf.log to your terraform command
tl_logs cannot currently be captured from the pipeline used. I will try to get these from a local test
Error I am facing on the console
See error above
Expected behaviour
The file should be imported correctly into state for further modifications in the config later
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please fill the following information):
OS: Linux
terraform version 1.17
terraform-provider-citrixadc version 1.37
go version I don't have go installed
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Contact us
Bug Report
Describe the bug
Importing citrixadc_systemfile fails with error:
To Reproduce
Steps to reproduce the behaviour:
# terrafrom import citrixadc_systemfile.sshd_config /etc/sshd_config
Terraform output logs to the log file (./tf.log). Append
TF_LOG=TRACE NS_LOG=TRACE TF_LOG_PATH=./tf.log
to your terraform commandtl_logs cannot currently be captured from the pipeline used. I will try to get these from a local test
Error I am facing on the console
See error above
Expected behaviour
The file should be imported correctly into state for further modifications in the config later
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please fill the following information):
terraform version
1.17go version
I don't have go installedAdditional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: