Skip to content

Releases: vmvarela/terraform-provider-github

v26.2.1

05 Feb 06:39

Choose a tag to compare

Release v6.11.0 (upstream)

Features

Fixes

v26.2.0

04 Feb 08:59

Choose a tag to compare

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

27 Jan 18:23

Choose a tag to compare

v26.1.6

New Resources

  • github_enterprise_cost_center - Creates and manages a cost center entity
  • github_enterprise_cost_center_users - Manages user assignments to a cost center
  • github_enterprise_cost_center_organizations - Manages organization assignments to a cost center
  • github_enterprise_cost_center_repositories - Manages repository assignments to a cost center
  • github_enterprise_team - Creates and manages an enterprise team
  • github_enterprise_team_membership - Manages user membership in an enterprise team
  • github_enterprise_team_organizations - Manages organization assignments for an enterprise team

New Data Sources

  • github_enterprise_cost_center - Retrieves information about a specific cost center
  • github_enterprise_cost_centers - Lists all cost centers in an enterprise
  • github_enterprise_scim_user - Retrieves SCIM provisioning information for an enterprise user
  • github_enterprise_scim_users - Lists all SCIM users provisioned for an enterprise
  • github_enterprise_scim_group - Retrieves SCIM provisioning information for an enterprise group
  • github_enterprise_scim_groups - Lists all SCIM groups provisioned for an enterprise
  • github_enterprise_team - Retrieves information about an enterprise team
  • github_enterprise_teams - Lists all enterprise teams in an enterprise
  • github_enterprise_team_membership - Retrieves membership information for a user in an enterprise team
  • github_enterprise_team_organizations - Lists organizations assigned to an enterprise team

v26.1.5

22 Jan 10:42

Choose a tag to compare

🔧 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.ToDiagFunc directly 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) with diag.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 startIndex and itemsPerPage parameters

Enterprise Teams Branch

  • Improved validation: Use validation.ToDiagFunc directly instead of custom toDiagFunc wrapper for organization_selection_type field

✅ 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

20 Jan 19:07

Choose a tag to compare

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 center
    • github_enterprise_cost_centers - Lists all enterprise cost centers

Enterprise SCIM

  • New Data Sources:
    • github_enterprise_scim_group - Gets information about a SCIM group
    • github_enterprise_scim_groups - Lists all SCIM groups in an enterprise
    • github_enterprise_scim_user - Gets information about a SCIM user
    • github_enterprise_scim_users - Lists all SCIM users in an enterprise

Enterprise Teams

  • New Resources:
    • github_enterprise_team - Creates and manages enterprise teams
    • github_enterprise_team_membership - Manages team membership
    • github_enterprise_team_organizations - Manages team organization assignments
  • New Data Sources:
    • github_enterprise_team - Gets information about an enterprise team
    • github_enterprise_teams - Lists all enterprise teams
    • github_enterprise_team_membership - Gets team membership information
    • github_enterprise_team_organizations - Gets team organization assignments

🐛 Bug Fixes (from upstream v6.10.2)

📚 Documentation (from upstream v6.10.2)

v26.1.3

19 Jan 05:30

Choose a tag to compare

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 center
  • github_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 group
  • github_enterprise_scim_groups - List all SCIM groups
  • github_enterprise_scim_user - Get a single SCIM user
  • github_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 teams
  • github_enterprise_team_member - Manage team memberships
  • github_enterprise_team_organization - Assign teams to organizations
  • github_enterprise_team_repository - Assign teams to repositories

New Data Sources:

  • github_enterprise_team - Get a single enterprise team
  • github_enterprise_team_member - Get team membership information
  • github_enterprise_team_members - List all team members
  • github_enterprise_team_organization - Get team organization assignment
  • github_enterprise_team_organizations - List all team organization assignments
  • github_enterprise_team_repositories - List all team repository assignments
  • github_enterprise_team_repository - Get team repository assignment
  • github_enterprise_teams - List all enterprise teams

🐛 Bug Fixes (from upstream v6.10.0-v6.10.1)

🔧 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

📚 Documentation

Complete documentation and examples available for all new resources and data sources in the website/docs/ directory and examples/ directory.

v26.1.2

09 Jan 09:33

Choose a tag to compare

Bug Fixes

  • Enterprise Teams Data Source: Use diag.Errorf for cleaner error handling instead of diag.FromErr(fmt.Errorf(...))
  • Enterprise Teams Data Source: Add top-level Description field 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 testResourcePrefix consistently across all enterprise teams tests for proper cleanup

Maintenance

Full Changelog: v26.1.1...v26.1.2

v26.1.1

08 Jan 16:45

Choose a tag to compare

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
  • 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
  • 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

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

06 Jan 23:41

Choose a tag to compare

v6.9.1

What's Changed

🐛 Bugfixes

📝 Documentation

Maintenance

Full Changelog: v25.12.1...v26.1.0

v25.12.1

26 Dec 09:06

Choose a tag to compare

  • 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, and repositories arguments now replace the deprecated helper resource.

Breaking

  • Removed the standalone github_enterprise_cost_center_resources resource (code, tests, docs). Migrate configurations to the embedded assignments on github_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