Skip to content

[Bug] Running bootstrap as a non-enterprise account doesn't work #43

Description

@bzarboni1

ISSUE

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" {
│ 

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions