Open
Description
The reconfiguration of a organization setting resource fails with the following changes when we have a policy defining a forking policy on enterprise level:
Policy:
Deployment output:
╷
│ Error: PATCH https://mydomain.ghe.com/api/v3/orgs/dnb-acme: 422 []
│
│ with module.organization-settings.github_organization_settings.this,
│ on .terraform/modules/organization-settings/main.settings.tf line 1, in resource "github_organization_settings" "this":
│ 1: resource "github_organization_settings" "this" {
│
╵
Upon disabling the forking setting on the organization, the deployment succeeds:
Logs from deployment are clean and green.
After first deployment i set the fork settings on organization same as the enterprise policy and rerun tf apply and no issues arrise on the second run.
Metadata
Metadata
Assignees
Labels
No labels