Skip to content

[BUG]: github_organization_custom_properties 404 Not Found #3053

@yannickvr

Description

@yannickvr

Expected Behavior

Adding or editiong github_organization_custom_properties should add/update property

Actual Behavior

╷
│ Error: PUT https://api.github.com/orgs/MYORG/properties/schema/iac: 404 Not Found []
│ 
│   with github_organization_custom_properties.this["iac"],
│   on main.tf line 84, in resource "github_organization_custom_properties" "this":
│   84: resource "github_organization_custom_properties" "this" {
│ 

Terraform Version

Terraform v1.13.4
on darwin_arm64

  • provider registry.terraform.io/integrations/github v6.9.1

Affected Resource(s)

  • github_organization_custom_properties

Terraform Configuration Files

resource "github_organization_custom_properties" "this" {
  for_each = local.organization_custom_properties

  property_name      = each.value.property_name
  value_type         = each.value.value_type
  required           = each.value.required
  description        = try(each.value.description, null)
  default_value      = try(each.value.default_value, null)
  allowed_values     = try(each.value.allowed_values, null)
  values_editable_by = try(each.value.values_editable_by, "org_actors")
}

Steps to Reproduce

terraform apply

Debug Output

Panic Output

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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions