Skip to content

chore(billing-usage): open upstream PR for enterprise_billing_usage data source #35

@vmvarela

Description

@vmvarela

The billing-usage branch is complete and tested.

Tasks

  • Review code against AGENTS.md Code Rules before opening PR
  • Open PR against integrations/terraform-provider-github main branch
  • Update this issue body with PR link and review status

Upstream PR

integrations#3293 — open, awaiting review.

Fixes applied before opening:

  • Dereferenced *string pointer fields (organization_name, repository_name) in flattenUsageItems — were being stored as pointers in TypeString schema fields
  • Replaced deprecated ValidateFunc with ValidateDiagFunc for year, month, day across all three data sources
  • Replaced fork-local buildID() with upstream-compatible buildTwoPartID()

Branch

billing-usage

Resources implemented

  • github_enterprise_billing_usage (data source)
  • github_enterprise_billing_usage_summary (data source)
  • github_enterprise_billing_premium_request_usage (data source)

Metadata

Metadata

Assignees

No one assigned

    Labels

    billing-usageRelated to the billing-usage feature branchpriority:mediumShould be done soonsize:sSmall — 1 to 4 hourstype:choreMaintenance, refactoring, tooling

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions