Open giuliov-unum opened 5 days ago
We want to use the GitHub Terraform provider to manage our organizations but the github_organization_settings resource invariably fails with HTTP 422.
github_organization_settings
Tried many different combinations with no luck:
github_enterprise_organization
The PAT belongs to an Enterprise and Org owner and all permissions selected. This is an EMU Enterprise account.
Here is the message
[ERROR] provider.terraform-provider-github_v6.2.2.exe: Response contains error diagnostic: @caller=github.com/hashicorp/terraform-plugin-go@v0.23.0/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: 1.8.5 on Win64 using integrations/github 6.2.2
No response
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/terraform-plugin-go@v0.23.0/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