Skip to content

v4.3.1 breaks owner provider configuration #678

@sh0shin

Description

@sh0shin

Terraform Version

Terraform v0.14.5
+ provider registry.terraform.io/integrations/github v4.3.1

Affected Resource(s)

  • github_repository
  • all

Terraform Configuration Files

terraform {
  required_providers {
    github = {
      source = "integrations/github"
    }
  }
}

provider "github" {
  owner = "sh0shin"
  # token is provided via GITHUB_TOKEN environment variable
}

resource "github_repository" "sick" {
  name        = "sick"
  description = "My sick git repository"
  visibility  = "public"
}

Debug Output

https://gist.github.com/sh0shin/8faca30a9f162939fa50fcc097868112

Expected Behavior

Repository sick should be created.

Actual Behavior

Error: GET https://api.github.com/orgs/sh0shin: 404 Not Found []

  on main.tf line 11, in provider "github":
  11: provider "github" {

Steps to Reproduce

  • terraform apply

Metadata

Metadata

Assignees

No one assigned

    Labels

    ProviderType: BugSomething isn't working as documented

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions