[BUG]: github_rest_api parses body inconsistently #1953
Labels
Status: Stale
Used by stalebot to clean house
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
I expect to get the whole response in the "body" of the terraform data source.
Actual Behavior
I sometimes get a partial result, sometimes null. I have tried calling the API manually and using mitmproxy to intercept the data that is returned from GitHub when running terraform, and it is always complete. With
TF_LOG=debug
it seems that the provider is also getting a full response (see below).Terraform Version
Terraform v1.5.5
on darwin_arm64
Affected Resource(s)
Terraform Configuration Files
Steps to Reproduce
Debug Output
Panic Output
Not a panic per se, but the output of the module above is inconsistent (but always incomplete).
Some examples:
No changes were made between the runs above - I'm simply rerunning
terraform apply
Code of Conduct
The text was updated successfully, but these errors were encountered: