Skip to content

Conversation

@pnpdev10
Copy link

Summary

Fixed the HTTP credentials issue in the terraform provider.

Root Cause

The problem was a type mismatch where the API returns secure as a boolean but the SDK expected a string.

Solution Applied

  • Created a custom BoolString type that can unmarshal both boolean and string JSON values
  • Updated SDK structs to use BoolString for the secure field
  • Modified provider code to convert BoolString to string when processing data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant