integrations / integrations/terraform-provider-github
[FEAT] Enable support for Projects V2
- Dominant language
- Go
- Stars
- 1.2k
- Forks
- 1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 8
Description
Hi,
I am not able to create an organization project. It is throwing this error.
`Error: POST https://api.github.com/orgs/my-org/projects: 410 Projects are disabled for this organization []`
This is my code for reference:
```hcl
terraform {
required_version = ">= 1.4.0, < 2.0.0"
required_providers {
github = {
source = "integrations/github"
version = "~> 5.0"
}
}
}
// Provider items are being passed through environment variables.
resource "github_organization_project" "this" {
for_each = var.organization_project
name = each.value["name"]
body = each.value["body"]
}
```
**SDK Version**
No response
**API Version**
No response
**Relevant log output**
```
Error: POST https://api.github.com/orgs/my-org/projects: 410 Projects are disabled for this organization []
with module.organization.github_organization_project.main["org-project"],
on ../../terraform/terraform-github-organization/main.tf line 64, in resource "github_organization_project" "main":
64: resource "github_organization_project" "main" {
```
Under `Code, planning, and automation` in Organization settings, I have "checked" `Enable Projects for the organization`
Contributor guide
Assessment
This issue has not been assessed yet.