Skip to content

[BUG]: Data residency does not use correct api url #2943

@tehho

Description

@tehho

Expected Behavior

Use baseURL for api requests

Actual Behavior

Uses api.github.com since regex is wrong

Terraform Version

opentofu 1.10.6
integrations/github v6.8.3

Affected Resource(s)

github_organization_role
but guessing all

Terraform Configuration Files

Steps to Reproduce

set baseURL in provider to a data residency and run opentofu init && opentofu plan

Debug Output

GET https://<redacted>.ghe.com/api/v3/orgs/banken/organization-roles/

Panic Output

No panic just error

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions