[BUG]: github_organization_settings resource fails with HTTP 422 #2305
Labels
Status: Up for grabs
Issues that are ready to be worked on by anyone
Type: Bug
Something isn't working as documented
Expected Behavior
We want to use the GitHub Terraform provider to manage our organizations but the
github_organization_settings
resource invariably fails with HTTP 422.Tried many different combinations with no luck:
github_enterprise_organization
in the same moduleThe PAT belongs to an Enterprise and Org owner and all permissions selected.
This is an EMU Enterprise account.
Actual Behavior
Here is the message
[ERROR] provider.terraform-provider-github_v6.2.2.exe: Response contains error diagnostic: @caller=github.com/hashicorp/[email protected]/tfprotov5/internal/diag/diagnostics.go:58 @module=sdk.proto diagnostic_severity=ERROR diagnostic_summary="PATCH https://api.github.com/orgs/OMISSIS: 422 []" tf_proto_version=5.6 tf_provider_addr=provider tf_req_id=491343e0-ef75-6d3c-e12a-cfba58c7c4ca tf_rpc=ApplyResourceChange diagnostic_detail="" tf_resource_type=github_organization_settings timestamp="2024-07-01T15:13:06.315+0100"
Terraform Version
Terraform version: 1.8.5 on Win64 using integrations/github 6.2.2
Affected Resource(s)
github_organization_settings
Terraform Configuration Files
No response
Steps to Reproduce
No response
Debug Output
No response
Panic Output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: