-
Notifications
You must be signed in to change notification settings - Fork 766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Anonymous access flag deprecation? #502
Comments
I agree that this was unexpected for a minor release, and the CHANGELOG doesn't call out the removed attributes. It looks like #464 is the PR where the The fix for now is to pin the provider to the previous release, 2.8.1. |
@glenwinters thanks, will do |
The GitHub provider introduced a breaking change with the minor bump to version 2.9.0, by removing a number of configuration options. This included the 'anonymous' flag, which is expected to exist by this module. Prevent this provder version, or later, from being used for now. For reference, see https://github.com/terraform-providers/terraform-provider-github/issues/502.
pining to 2.8.1 is the workaround because this is going to be re-added to the provider code? or is like pin to 2.8.1 because we will not add it back? |
@jamengual I'm just a user of the provider, and that's how I got my existing code that uses |
no worries, thanks |
I also would be thankful to know why the I don't think there is any point for use cases like that to run in an authenticated context of an owner/organization. |
Thanks for reporting this and apologies for the interrupt on this breaking release. As for next steps, by end of week the aim is to either:
Still collecting feedback if anyone has suggestions on how best to proceed 😊 |
More guidance has been offered by the Terraform committers community and a revised plan is to:
|
Having the ability to retrieve the GitHub public IPs using the plugin seems quite useful, to me, and it's currently the only way we use it, so I hope that such functionality won't actually be taken away. What's the idea? That we should not use the Provider for that? Using it seemed to be quite natural and simple, and besides that, if a Token were required, I would have to guess how to get it from within our Jenkins builds via Groovy. Extra, unnecessary code, for a functionality which doesn't require password protection or even a session. |
A major reason for this change is to remove complexity from the project and put us on a better foundation to serve enterprise and individual use cases. There has been friction in the past around our current configuration options (see here). Additionally, provider configuration can be minimized to just providing a token (see here for how we can learn from GitLab). Perhaps the absence of a token can signal Thanks for raising this common use case. Hoping to hear more as investigations continue into which resources benefit from functioning anonymously and which do not. |
After some time has passed here, my next step is to merge https://github.com/terraform-providers/terraform-provider-github/pull/506. A similar change to the There are a few other features queued up for release, so hoping to follow through on this plan by end of next week. |
The flag deprecations have landed in the final release of the v2 line. The breaking changes that landed in v2 are now re-instated and ready for the v3.0.0 release. |
Terraform Version
Terraform version: 0.12.28
Provider version: 2.9.0
Affected Resource(s)
Provider configuration
Terraform Configuration Files
Debug Output
N/A
Panic Output
N/A
Expected Behavior
Expected the apply to work with the given provider pessimistic constraint.
Actual Behavior
I'm not sure if this qualifies as a bug or not, but I wanted to point out the the
anonymous
flag was removed in a minor release, and has broken some modules we use (notably this one).Is it expected that the provider configuration can change in a release without a major bump?
Steps to Reproduce
N/A
Important Factoids
N/A
References
N/A
The text was updated successfully, but these errors were encountered: