Skip to content
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

fix: don't use rulesets for non-enterprise accounts #44

Merged
merged 4 commits into from
Apr 19, 2024

Conversation

bzarboni1
Copy link
Contributor

ISSUE

[#43]

When running the bootstrap layer for a new organization, the terraform apply fails:

╷
│ Error: POST https://api.github.com/orgs/benz-playground/rulesets: 403 Upgrade to GitHub Enterprise to enable this feature. []
│ 
│   with module.github_foundations.module.base_ruleset.github_organization_ruleset.ruleset[0],
│   on .terraform/modules/github_foundations/modules/ruleset/organization_ruleset.tf line 1, in resource "github_organization_ruleset" "ruleset":
│    1: resource "github_organization_ruleset" "ruleset" {
│ 

@bzarboni1 bzarboni1 self-assigned this Apr 19, 2024
@bzarboni1 bzarboni1 merged commit 39648f9 into main Apr 19, 2024
@bzarboni1 bzarboni1 deleted the 43-bug-non-enterprise-bootstrap-fail branch April 19, 2024 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants