Releases: vmvarela/terraform-provider-github
v26.2.1
Release v6.11.0 (upstream)
Features
- feat: Consistent secret and variable selected repos (integrations#3155)
- feat(actions_permissions): sha_pinning_required (integrations#2870)
- feat: add github_release_asset data source (integrations#2514)
- feat: support internal visibility for repositories created by a template (integrations#3123)
- feat: allow users to set GitHub app in their repositories (integrations#2469)
Fixes
- fix: Correct secret drift implementation (integrations#3069)
- fix: Correct repo vulnerability alert logic (integrations#3144)
- fix(environments): swallow 404 not found errors (integrations#3132)
- fix: Relax id parsing strictness for existing ids (integrations#3129)
- fix: Correct ruleset pr allowed merge method logic (integrations#3128)
- fix: Correct forking and vulnerability alert logic (integrations#3127)
v26.2.0
Release v26.2.0
Features
- feat(enterprise-scim): register SCIM data sources in provider
- feat(enterprise-scim): add github_enterprise_scim_users data source
- feat(enterprise-scim): add github_enterprise_scim_user data source
- feat(enterprise-scim): add github_enterprise_scim_groups data source
- feat(enterprise-scim): add github_enterprise_scim_group data source
- feat(enterprise-scim): add utility functions for SCIM data sources
- feat(enterprise-teams): register enterprise team resources and data sources
- feat(enterprise-teams): add data sources for enterprise teams
- feat(enterprise-teams): add github_enterprise_team_organizations resource
- feat(enterprise-teams): add github_enterprise_team_membership resource
- feat(enterprise-teams): add github_enterprise_team resource
- feat(enterprise-teams): add utility functions for enterprise teams
- feat(cost-centers): register cost center resources and data sources
- feat(cost-centers): add data sources for enterprise cost centers
- feat(cost-centers): add github_enterprise_cost_center_repositories resource
- feat(cost-centers): add github_enterprise_cost_center_organizations resource
- feat(cost-centers): add github_enterprise_cost_center_users resource
- feat(cost-centers): add github_enterprise_cost_center resource
- feat(cost-centers): add retry logic utilities for cost center operations
- feat(utils): add shared helper functions for cost centers
- feat(actions_permissions): sha_pinning_required (integrations#2870)
- feat: add github_release_asset data source (integrations#2514)
- feat: support internal visibility for repositories created by a template (integrations#3123)
Fixes
- fix(enterprise-scim): update go-github import to v82
- fix(enterprise-teams): update go-github import to v82
- fix(cost-centers): update go-github import to v82
- fix: Correct secret drift implementation (integrations#3069)
- fix: Correct repo vulnerability alert logic (integrations#3144)
- fix(environments): swallow 404 not found errors (integrations#3132)
- fix: Relax id parsing strictness for existing ids (integrations#3129)
- fix: Correct ruleset pr allowed merge method logic (integrations#3128)
- fix: Correct forking and vulnerability alert logic (integrations#3127)
v26.1.6
v26.1.6
New Resources
github_enterprise_cost_center- Creates and manages a cost center entitygithub_enterprise_cost_center_users- Manages user assignments to a cost centergithub_enterprise_cost_center_organizations- Manages organization assignments to a cost centergithub_enterprise_cost_center_repositories- Manages repository assignments to a cost centergithub_enterprise_team- Creates and manages an enterprise teamgithub_enterprise_team_membership- Manages user membership in an enterprise teamgithub_enterprise_team_organizations- Manages organization assignments for an enterprise team
New Data Sources
github_enterprise_cost_center- Retrieves information about a specific cost centergithub_enterprise_cost_centers- Lists all cost centers in an enterprisegithub_enterprise_scim_user- Retrieves SCIM provisioning information for an enterprise usergithub_enterprise_scim_users- Lists all SCIM users provisioned for an enterprisegithub_enterprise_scim_group- Retrieves SCIM provisioning information for an enterprise groupgithub_enterprise_scim_groups- Lists all SCIM groups provisioned for an enterprisegithub_enterprise_team- Retrieves information about an enterprise teamgithub_enterprise_teams- Lists all enterprise teams in an enterprisegithub_enterprise_team_membership- Retrieves membership information for a user in an enterprise teamgithub_enterprise_team_organizations- Lists organizations assigned to an enterprise team
v26.1.5
🔧 Refactoring & Code Quality
Cost Centers Branch
- Improved error handling: Replaced wrapped error messages with direct
diag.FromErr(err)for cleaner error reporting - Better validation: Use
validation.ToDiagFuncdirectly instead of custom wrapper for more idiomatic code - Cleaner optional fields: Use
github.Ptr()for optional fields to go-github API - Stable resource IDs: Use
buildTwoPartID()for consistent ID formatting - Removed redundant code:
- Eliminated unnecessary sorting before TypeSet operations (SDK handles ordering)
- Removed redundant state normalization that duplicated default values
- Improved error messages: More actionable error messages for better debugging
Enterprise SCIM Branch
- Consistent error handling: Replaced ~30 instances of
diag.Errorf("error setting X: %s", err)withdiag.FromErr(err)across 4 files:data_source_github_enterprise_scim_user.go(10 fixes)data_source_github_enterprise_scim_group.go(6 fixes)data_source_github_enterprise_scim_users.go(7 fixes)data_source_github_enterprise_scim_groups.go(7 fixes)
- Simplified validation logic: Removed redundant conditional checks for
startIndexanditemsPerPageparameters
Enterprise Teams Branch
- Improved validation: Use
validation.ToDiagFuncdirectly instead of customtoDiagFuncwrapper fororganization_selection_typefield
✅ Quality Assurance
- All branches tested with acceptance tests before merge
- Build passes with 0 linting issues
- All unit tests passing (4.9s)
- Code follows established best practices from project guidelines
Impact: These changes improve code maintainability, consistency, and debugging experience without changing functionality.
Full Changelog: v26.1.4...v26.1.5
v26.1.4
Release v26.1.4
Based on upstream v6.10.2
🚀 New Features
Enterprise Cost Centers
- New Resource:
github_enterprise_cost_center- Creates and manages enterprise cost centers - New Data Sources:
github_enterprise_cost_center- Gets information about a specific cost centergithub_enterprise_cost_centers- Lists all enterprise cost centers
Enterprise SCIM
- New Data Sources:
github_enterprise_scim_group- Gets information about a SCIM groupgithub_enterprise_scim_groups- Lists all SCIM groups in an enterprisegithub_enterprise_scim_user- Gets information about a SCIM usergithub_enterprise_scim_users- Lists all SCIM users in an enterprise
Enterprise Teams
- New Resources:
github_enterprise_team- Creates and manages enterprise teamsgithub_enterprise_team_membership- Manages team membershipgithub_enterprise_team_organizations- Manages team organization assignments
- New Data Sources:
github_enterprise_team- Gets information about an enterprise teamgithub_enterprise_teams- Lists all enterprise teamsgithub_enterprise_team_membership- Gets team membership informationgithub_enterprise_team_organizations- Gets team organization assignments
🐛 Bug Fixes (from upstream v6.10.2)
- fix: Revert provider input constraints (integrations#3099)
- chore: Fix repo allow forking (integrations#3094)
📚 Documentation (from upstream v6.10.2)
- docs(custom_property): fix typo and import example (integrations#2605)
v26.1.3
Release v26.1.3
🎉 New Features
Enterprise Cost Centers
Add comprehensive support for managing GitHub Enterprise Cost Centers.
New Resources:
github_enterprise_cost_center- Create and manage enterprise cost centers with users, organizations, and repository assignments
New Data Sources:
github_enterprise_cost_center- Get information about a specific cost centergithub_enterprise_cost_centers- List all cost centers in an enterprise
Enterprise SCIM Provisioning
Add data sources for GitHub Enterprise SCIM (System for Cross-domain Identity Management) provisioning.
New Data Sources:
github_enterprise_scim_group- Get a single SCIM groupgithub_enterprise_scim_groups- List all SCIM groupsgithub_enterprise_scim_user- Get a single SCIM usergithub_enterprise_scim_users- List all SCIM users
Enterprise Teams
Add comprehensive support for GitHub Enterprise Teams management.
New Resources:
github_enterprise_team- Create and manage enterprise teamsgithub_enterprise_team_member- Manage team membershipsgithub_enterprise_team_organization- Assign teams to organizationsgithub_enterprise_team_repository- Assign teams to repositories
New Data Sources:
github_enterprise_team- Get a single enterprise teamgithub_enterprise_team_member- Get team membership informationgithub_enterprise_team_members- List all team membersgithub_enterprise_team_organization- Get team organization assignmentgithub_enterprise_team_organizations- List all team organization assignmentsgithub_enterprise_team_repositories- List all team repository assignmentsgithub_enterprise_team_repository- Get team repository assignmentgithub_enterprise_teams- List all enterprise teams
🐛 Bug Fixes (from upstream v6.10.0-v6.10.1)
- repository: Change
allowed_merge_methodstoOptional(integrations#3083) - emu_group_mapping: Enable importing for groups with multiple teams (integrations#3054)
🔧 Improvements (from upstream v6.10.0)
- releases: Migrate resource and data source to context-aware functions (integrations#3036)
- migrations: Convert legacy Schema Migrations to use StateUpgraders (integrations#3065)
📝 Implementation Details
All new features include:
- Context-aware CRUD operations with proper error handling
- Plan-time validation for required fields
- Comprehensive documentation with examples
- Real acceptance tests using standard environment variables
- go-github v81 native SDK support
⚙️ Testing
All acceptance tests pass successfully:
- Cost Centers: 3 tests (✅)
- SCIM: 4 tests (✅)
- Enterprise Teams: 8 tests (✅)
🔗 Pull Requests
- integrations#3000 - Add support for Enterprise Cost Centers
- integrations#3012 - Add Enterprise SCIM data sources (groups/users)
- integrations#3008 - Add support for Enterprise Teams
📚 Documentation
Complete documentation and examples available for all new resources and data sources in the website/docs/ directory and examples/ directory.
v26.1.2
Bug Fixes
- Enterprise Teams Data Source: Use
diag.Errorffor cleaner error handling instead ofdiag.FromErr(fmt.Errorf(...)) - Enterprise Teams Data Source: Add top-level
Descriptionfield to schema github_repository: Correct private forking implementation (integrations#3067)
Improvements
- Enterprise Teams: Use constants for field names in schema to ensure field name changes propagate automatically
- Tests: Use
testResourcePrefixconsistently across all enterprise teams tests for proper cleanup
Maintenance
- Deprecate the
has_downloadsfield ingithub_repository(integrations#3063) - Add regression test for integrations#2614 (integrations#3062)
- Ensure all acceptance tests have
testaccprefix (integrations#3064)
Full Changelog: v26.1.1...v26.1.2
v26.1.1
NEW FEATURES
-
Enterprise Teams Support: Add comprehensive support for GitHub Enterprise Teams management
- New resource
github_enterprise_team- Create and manage enterprise teams - New resource
github_enterprise_team_organizations- Manage organization assignments for enterprise teams - New resource
github_enterprise_team_membership- Manage user membership in enterprise teams - New data source
github_enterprise_team- Retrieve enterprise team information by slug or ID - New data source
github_enterprise_teams- List all enterprise teams in an enterprise - New data source
github_enterprise_team_organizations- List organizations assigned to an enterprise team - New data source
github_enterprise_team_membership- Get user membership details in an enterprise team
- New resource
-
Enterprise SCIM Support: Add support for Enterprise SCIM user and group provisioning
- New data source
github_enterprise_scim_user- Retrieve SCIM provisioned user - New data source
github_enterprise_scim_users- List all SCIM provisioned users - New data source
github_enterprise_scim_group- Retrieve SCIM provisioned group - New data source
github_enterprise_scim_groups- List all SCIM provisioned groups
- New data source
-
Enterprise Cost Centers: Add support for Enterprise Cost Centers
- New data source
github_enterprise_cost_center- Retrieve cost center information - New data source
github_enterprise_cost_centers- List all cost centers in an enterprise
- New data source
ENHANCEMENTS
- Upgraded to go-github v81 SDK for all enterprise features
- Refactored enterprise teams implementation to use native SDK functions instead of custom API implementations
Full Changelog: v26.1.0...v26.1.1
v26.1.0
v6.9.1
What's Changed
🐛 Bugfixes
- fix: Fixes boolean conversions in rulesets from causing Panics by @deiga in integrations#2977
- fix: Fix base url regression to ensure trailing / by @stevehipwell in integrations#2990
- fix: Fix errors as nil bomb by @stevehipwell in integrations#2992
- fix: Fix organization_custom_properties create by @stevehipwell in integrations#2995
- fix: Fix repository environment deployment by @stevehipwell in integrations#2993
- fix: Correct github_organization_role_teams & github_organization_role_users by @stevehipwell in integrations#2994
- fix: github_organization_role Ensure role_id is set after Create by @deiga in integrations#3011
- fix(RateLimitRoundtripper): Fix mutex leak and not respecting context cancellation by @pete-woods in integrations#2298
fix: Ensure repository creation works if vulnerability-alerts isn't modifiable on repo level by @deiga in integrations#3024
📝 Documentation
- docs: Fix documented block name for ignored collaborator teams by @tabacco in integrations#2551
- docs: correct grammar errors in data.github_release docs by @mdb in integrations#2515
- docs: Add missing link to schema for merge_queue repository rule by @usmonster in integrations#2581
Maintenance
- chore: update readme to reference min go version compatible with go.mod by @anGie44 in integrations#3014
Full Changelog: v25.12.1...v26.1.0
v25.12.1
- Added enterprise SCIM coverage with new data sources (users, user, groups, group). Provider registration lives in provider.go, with implementations under data_source_github_enterprise_scim_users.go and related files.
- Delivered enterprise team management: resources and data sources for teams, memberships, and organization links, documented in enterprise_team.html.markdown and sibling docs.
- Unified enterprise cost center management by folding resource assignments into resource_github_enterprise_cost_center.go; authoritative
users,organizations, andrepositoriesarguments now replace the deprecated helper resource.
Breaking
- Removed the standalone
github_enterprise_cost_center_resourcesresource (code, tests, docs). Migrate configurations to the embedded assignments ongithub_enterprise_cost_center; see enterprise_cost_center.html.markdown.
Enhancements
- Cost center assignments now batch, retry, and use context-aware CRUD (resource_github_enterprise_cost_center.go).
- Enterprise team resources/data sources include plan-time validation and leverage the go-github enterprise SDK (data_source_github_enterprise_team.go).
Docs & Examples
- New SCIM and enterprise team documentation under
website/docs/{d,r}/enterprise_*.
Full Changelog: v25.12.0...v25.12.1