Closed jchancellor-ms closed 4 days ago
I determined that the gh version I was using was quite old. Upgraded to the latest version and re-tested and I'm now able to get a token with the github_actions_registration_token data resource. Still having issues with the api version, but I'll close this since the standard way appears to work.
Expected Behavior
I'm trying to return a registration token using data resources and both are failing. data.github_actions_registration_token and data.github_rest_api. When I do this with the rest API, a valid token is returned.
Actual Behavior
The API returns a 404 not found error when using the terraform provider logged in via the CLI. However, when I use the CLI token and call the rest API directly a token is returned. A gh auth status shows me logged in with a valid token.
Terraform Version
terraform 1.8.3 on linux_amd64 with github 6.2.2
Affected Resource(s)
data.github_actions_registration_token and data.github_rest_api
Terraform Configuration Files
Steps to Reproduce
gh auth login
terraform init
terraform apply
Debug Output
Panic Output
No response
Code of Conduct