integrations / terraform-provider-github

Terraform GitHub provider
https://www.terraform.io/docs/providers/github/
MIT License
863 stars 708 forks source link

fix: Fixing `enterprise_id` import on `github_enterprise_actions_permissions` #2274

Closed ErikElkins closed 2 weeks ago

ErikElkins commented 1 month ago

Resolves issue where enterprise_id wasn't getting imported as mentioned here: https://github.com/integrations/terraform-provider-github/pull/2155#issuecomment-1993599613


Before the change?

After the change?

Pull request checklist

Does this introduce a breaking change?

Please see our docs on breaking changes to help!


kfcampbell commented 1 month ago

@ErikElkins thanks for the contribution! I'm torn about the breaking change here -- since the behavior was broken in the first place, I wonder if it's okay to release the schema change without a corresponding major version bump, since Hashicorp is pretty clear that releasing major versions too frequently is a bad idea: "To allow practitioners sufficient time and opportunity to upgrade to the latest version of the provider, we recommend releasing major versions no more than once per year. Releasing major versions more frequently could present a barrier to adoption due to the effort required to upgrade."

What do you think?

ErikElkins commented 1 month ago

Yeah I think it's fair to avoid the major version change. It's probably only me and the one other commenter using this resource right now.