Skip to content

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

Merged
bzarboni1 merged 4 commits into
mainfrom
43-bug-non-enterprise-bootstrap-fail
Apr 19, 2024
Merged

fix: don't use rulesets for non-enterprise accounts#44
bzarboni1 merged 4 commits into
mainfrom
43-bug-non-enterprise-bootstrap-fail

Conversation

@bzarboni1

Copy link
Copy Markdown
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 requested a review from TylerMizuyabu April 19, 2024 20:58
@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