-
Notifications
You must be signed in to change notification settings - Fork 745
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
fix: Fixing enterprise_id
import on github_enterprise_actions_permissions
#2274
Conversation
enterprise_id
import
enterprise_id
importenterprise_id
import on github_enterprise_actions_permissions
@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? |
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. |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github](https://registry.terraform.io/providers/integrations/github) ([source](https://togithub.com/integrations/terraform-provider-github)) | required_provider | patch | `6.2.2` -> `6.2.3` | --- ### Release Notes <details> <summary>integrations/terraform-provider-github (github)</summary> ### [`v6.2.3`](https://togithub.com/integrations/terraform-provider-github/releases/tag/v6.2.3) [Compare Source](https://togithub.com/integrations/terraform-provider-github/compare/v6.2.2...v6.2.3) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### 🛠️ Maintenance - build(deps): bump the github-actions group with 2 updates by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/integrations/terraform-provider-github/pull/2303](https://togithub.com/integrations/terraform-provider-github/pull/2303) ##### 🏷 Other Changes - fix: Fixing `enterprise_id` import on `github_enterprise_actions_permissions` by [@​ErikElkins](https://togithub.com/ErikElkins) in [https://github.com/integrations/terraform-provider-github/pull/2274](https://togithub.com/integrations/terraform-provider-github/pull/2274) - Bump go-github to v62 + fixes by [@​EttoreFoti](https://togithub.com/EttoreFoti) in [https://github.com/integrations/terraform-provider-github/pull/2304](https://togithub.com/integrations/terraform-provider-github/pull/2304) - docs: mark enterprise runner visibility required by [@​gustavlasko](https://togithub.com/gustavlasko) in [https://github.com/integrations/terraform-provider-github/pull/2278](https://togithub.com/integrations/terraform-provider-github/pull/2278) #### New Contributors - [@​gustavlasko](https://togithub.com/gustavlasko) made their first contribution in [https://github.com/integrations/terraform-provider-github/pull/2278](https://togithub.com/integrations/terraform-provider-github/pull/2278) **Full Changelog**: integrations/terraform-provider-github@v6.2.2...v6.2.3 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjYuMCIsInVwZGF0ZWRJblZlciI6IjM3LjQyNi4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZS90ZXJyYWZvcm0iLCJ0eXBlL3BhdGNoIl19--> Co-authored-by: kireque-bot[bot] <143391978+kireque-bot[bot]@users.noreply.github.com>
Resolves issue where
enterprise_id
wasn't getting imported as mentioned here: #2155 (comment)Before the change?
enterprise_id
field wasn't getting set in state as a part of the import process of thegithub_enterprise_actions_permissions
resource. Also, github/resource_github_enterprise_actions_runner_group_test.go was misspelled.After the change?
github_enterprise_actions_permissions
now uses theenterprise_slug
field to align withresource_github_enterprise_actions_runner_group
and other enterprise resources, and sets it as a part of the import process.Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!