terraform-provider-github
terraform-provider-github copied to clipboard
Allow setting owner in anonymous mode
Fixes #647.
The provider currently doesn't respect any ownership configuration when running in anonymous mode. This is annoying because it blocks all kinds of uses, for example data sources retrieving public repos.
This PR makes a small change to respect ownership in anonymous mode, and now those data sources work!
cc @Olin-Vorechovsky I'd rather do this than error if there's no token present, since there's a lot of valid use cases for the provider without auth configured IMO. Thoughts?
I think this is a worthwhile change and since it's not breaking backwards compatibility, I've added it to a future milestone for release.
@jcudit let's talk about this in the next week or two!
👋 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!
I had forgotten about this! I think this is still relevant and should be merged.