integrations / integrations/terraform-provider-github

[FEAT]: Allow usage of enterprise app installation

Open
#2,886 2 comments 14 reactions 0 assignees View on GitHub
Status: Triage Type: Feature
Dominant language
Go
Stars
1.2k
Forks
1k
Avg merge
1d 14h
Merged PRs (30d)
8

Description

### Describe the need

In an enterprise, it should be possible to manage various enterprise level aspects, including creation of organizations, with an enterprise scoped app installation.

This will also enable (hopefully) future resources for managing other enterprise aspects like enterprise teams, enterprise custom roles, etc.

Currently, this fails due to the reliance on endpoints not available with enterprise-scoped app installations.

Image

### SDK Version

_No response_

### API Version

_No response_

### Relevant log output

```shell
Planning failed. OpenTofu encountered an error while generating this plan.


│ Error: Error

│ with provider["registry.opentofu.org/integrations/github"],
│ on provider.tf line 11, in provider "github":
│ 11: provider "github" {

│ GET https://api.github.com/user: 403 Resource not accessible by integration
│ []
```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.