Skip to content

[BUG]: billing_email should not be required for github_enterprise_organization #2881

@Nothing4You

Description

@Nothing4You

Expected Behavior

resource "github_enterprise_organization" "org" {
  enterprise_id = data.github_enterprise.mine.id
  name          = "orgname"
  display_name  = "orgname"
  description   = "orgdesc"
  admin_logins = [
    "myuser",
  ]
}

should work

Actual Behavior

resource "github_enterprise_organization" "org" {
  enterprise_id = data.github_enterprise.mine.id
  name          = "orgname"
  display_name  = "orgname"
  description   = "orgdesc"
  billing_email = "[email protected]"
  admin_logins = [
    "myuser",
  ]
}

is required, despite billing emails not being configurable in github web. this applies at least to EMU orgs on github.com. the provided value seems to be effectively ignored.

Terraform Version

``OpenTofu v1.10.7
on darwin_arm64

  • provider registry.opentofu.org/integrations/github v6.7.5

Affected Resource(s)

  • github_enterprise_organization

Terraform Configuration Files

Steps to Reproduce

$ tofu apply

Debug Output

Panic Output

Code of Conduct

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

Related

#2249

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

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions