Closed wertlex closed 1 month ago
This is purely inaccurate merge. My initial PR was having ServiceInstanceUpdateInput#RegistryCredentials as an instance, while a version merged eventually has the same field as a pointer: https://github.com/terraform-community-providers/terraform-provider-railway/blob/813c9479ab5a6fbfdbea0a37c3fbe7aef51e5775/internal/provider/generated.go#L571
ServiceInstanceUpdateInput#RegistryCredentials
However, this code path didn't changed, what leads to null pointer dereference: https://github.com/terraform-community-providers/terraform-provider-railway/blob/bf433f2ec2d3aee1399f95ee2193ee0418d4e010/internal/provider/resource_service.go#L624
Explanation
This is purely inaccurate merge. My initial PR was having
ServiceInstanceUpdateInput#RegistryCredentials
as an instance, while a version merged eventually has the same field as a pointer: https://github.com/terraform-community-providers/terraform-provider-railway/blob/813c9479ab5a6fbfdbea0a37c3fbe7aef51e5775/internal/provider/generated.go#L571However, this code path didn't changed, what leads to null pointer dereference: https://github.com/terraform-community-providers/terraform-provider-railway/blob/bf433f2ec2d3aee1399f95ee2193ee0418d4e010/internal/provider/resource_service.go#L624
Funding