You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current authenticated user's github login is printed as a terraform output.
Actual Behavior
$ terraform apply
data.github_user.current: Refreshing state...
Error: GET https://api.github.com/user/gpg_keys: 404 Not Found []
on main.tf line 6, in data "github_user" "current":
6: data "github_user" "current" {
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
go-github/v27 allows using an empty string for the username to fetch the current user's details. This API call seems successful. However, the API calls to get GPG and SSH seems to be using the username argument which can be an empty string.
The text was updated successfully, but these errors were encountered:
👋 Hey Friends, this issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Please add the Status: Pinned label if you feel that this issue needs to remain open/active. Thank you for your contributions and help in keeping things tidy!
Terraform Version
Affected Resource(s)
github_user
data sourceTerraform Configuration Files
Expected Behavior
The current authenticated user's github login is printed as a terraform output.
Actual Behavior
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform apply
Important Factoids
go-github/v27
allows using an empty string for the username to fetch the current user's details. This API call seems successful. However, the API calls to get GPG and SSH seems to be using theusername
argument which can be an empty string.The text was updated successfully, but these errors were encountered: