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] provider.terraform-provider-netbox_v3.8.6: Response contains error diagnostic: diagnostic_severity=ERROR diagnostic_summary="0xc000402200 (*interface {}) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" tf_rpc=ApplyResourceChange tf_resource_type=netbox_rir @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 tf_proto_version=5.4 @module=sdk.proto diagnostic_detail="" tf_provider_addr=registry.terraform.io/e-breuninger/netbox tf_req_id=214def9a-2b0e-0977-91e2-a548824ab090 timestamp=2024-06-10T08:56:07.126-0400
Panic Output
Expected Behavior
Create the RIR
Actual Behavior
Exits with error.
Steps to Reproduce
Deploy a netbox 4.0.2.
Add a resource of type netbox_rir and try to apply it.
Upon further investigation this seem to have nothing to do with the provider, rather it has something to do with the deployed instance in kubernetes. Running with -parallelism=1 doesn't completely fix the issue, but it does behave better.
Even with --parallelism=1 this is still happening for "netbox_rir" resources. What's even more odd is that it actually creates the resources and then fails. Upon a subsequent run the rir resources appear as tainted.
I know the provider has not been tested with 4.0.2, but I'm adding this here maybe it can help when working on a version for 4.x.
Creating RIRs fails on a netbox 4.0.2 (netbox community docker image) deployed in kubernetes. The instance is configured on the subpath "/netbox".
The same version without the subpath, tested on a local machine, had no issue creating the RIRs so this is very odd. Seems very similar to #263.
Other resources are created without issues.
Terraform Version
opentofu 1.7.2
Affected Resource(s)
Please list the resources as a list, for example:
Terraform Configuration Files
Debug Output
[ERROR] provider.terraform-provider-netbox_v3.8.6: Response contains error diagnostic: diagnostic_severity=ERROR diagnostic_summary="0xc000402200 (*interface {}) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface" tf_rpc=ApplyResourceChange tf_resource_type=netbox_rir @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 tf_proto_version=5.4 @module=sdk.proto diagnostic_detail="" tf_provider_addr=registry.terraform.io/e-breuninger/netbox tf_req_id=214def9a-2b0e-0977-91e2-a548824ab090 timestamp=2024-06-10T08:56:07.126-0400
Panic Output
Expected Behavior
Create the RIR
Actual Behavior
Exits with error.
Steps to Reproduce
Deploy a netbox 4.0.2.
Add a resource of type netbox_rir and try to apply it.
Important Factoids
References
[Are there any other GitHub issues (open or closed) or Pull Requests that should
be linked here? For example:
The text was updated successfully, but these errors were encountered: