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
Error: Plugin did not respond
│
│ with provider["registry.terraform.io/smutel/netbox"],
│ on main.tf line 12, in provider "netbox":
│ 12: provider "netbox" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ConfigureProvider call. The plugin logs may contain more details.
Behaviors
Actual Behavior
When insecure=true, the provider registry.terraform.io/smutel/netbox failed
Expected Behavior
If you change the line :
t.Transport.(*http.Transport).TLSClientConfig.InsecureSkipVerify = insecure
by
t.Transport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: insecure}
in provider.go
The parameter insecure=true runs correctly
Steps to Reproduce
Set insecure=true in the provider's parameters
terraform plan
The text was updated successfully, but these errors were encountered:
Summary
panic: runtime error: invalid memory address or nil pointer dereference when insecure=true
Version
7.1.0
Netbox version
Terraform version
Provider version
Issue details
Affected Data(s) / Resource(s)
Terraform Configuration Files
Terraform Output
Behaviors
Actual Behavior
When insecure=true, the provider registry.terraform.io/smutel/netbox failed
Expected Behavior
If you change the line :
t.Transport.(*http.Transport).TLSClientConfig.InsecureSkipVerify = insecure
by
t.Transport.(*http.Transport).TLSClientConfig = &tls.Config{InsecureSkipVerify: insecure}
in provider.go
The parameter insecure=true runs correctly
Steps to Reproduce
insecure=true
in the provider's parametersterraform plan
The text was updated successfully, but these errors were encountered: