-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Organization ruleset invalid property condition #1909
Comments
Hi @jcshadhara, i think I know what's happening. Can you try setting either The API expects one of them to be defined even if it's empty. I'll add that to the documentation and potentially change the schema to reflect that, but it could potentially be a major version change so I'll look into that before saying anything for sure. Hope this helps! |
I confirm that adding the following code into the
Before adding the aforementioned piece of code, I tried with the property |
Interesting, let me play around with that. The API should accept the |
This still does not reflect in the documentaiton: https://registry.terraform.io/providers/integrations/github/latest/docs/resources/organization_ruleset There is also an undocumented property under |
👋 Hey Friends, this issue has been automatically marked as |
Expected Behavior
The organization ruleset specified in the terraform file applies without errors
Actual Behavior
The API throws an error when trying to apply an organization ruleset with a condition field:
Terraform Version
Terraform version >= 1.3.6
on linux_amd64
provider registry.terraform.io/integrations/github v5.37.0
Affected Resource(s)
github_organization_ruleset
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: