terraform-provider-github
terraform-provider-github copied to clipboard
[BUG]: rest api swallows all errors (in order to allow for 404's)
Expected Behavior
currently decode of json fails for certain response types, but since all exceptions that come out of the rest client are ignored there's just null stored in state.
Actual Behavior
check explicitly for the response status (in case you want allow 404 as expected behaviour).
Terraform Version
v6.0.0
Affected Resource(s)
- data_source_github_rest_api
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct